]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoAdd a MODULE_VERSION declaration. This should prevent duplicate loading
Mike Smith [Sat, 1 Sep 2001 22:41:53 +0000 (22:41 +0000)]
Add a MODULE_VERSION declaration.  This should prevent duplicate loading
of the module, and allows other modules to depend on and link against
the ACPI module.

Add a sysctl that allows us to retrieve the ACPI CA version number as
well.

23 years agoFile positions are off_t nowdays, not long, so:
Andrey A. Chernov [Sat, 1 Sep 2001 22:22:45 +0000 (22:22 +0000)]
File positions are off_t nowdays, not long, so:
long -> off_t
strtol -> strtoll
fseek -> fseeko

NOTE: that fseek not works for >long offsets files per POSIX:

[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.

23 years agoAnother punctuation fix (missing comma ending preposition).
Chris Costello [Sat, 1 Sep 2001 21:32:52 +0000 (21:32 +0000)]
Another punctuation fix (missing comma ending preposition).

23 years agoo Mention the fact that specifying a fileid of 0 searches all loaded
Chris Costello [Sat, 1 Sep 2001 21:31:33 +0000 (21:31 +0000)]
o Mention the fact that specifying a fileid of 0 searches all loaded
  modules.
o Properly terminate a preposition.

23 years agouse correct "compile" directory, which is ../../compile/<filename>
Luigi Rizzo [Sat, 1 Sep 2001 21:19:15 +0000 (21:19 +0000)]
use correct "compile" directory, which is ../../compile/<filename>
This does not apply to RELENG_4 for which the compile directory is
../compile/<filename>

23 years agoo Note that some sites will want to select generally more conservative
Robert Watson [Sat, 1 Sep 2001 21:00:28 +0000 (21:00 +0000)]
o Note that some sites will want to select generally more conservative
  permissions on some files, and give hints as to what those permissions
  might be.  Note also that the current more liberal permissions might
  get changed in future revisions.

23 years agoRemove #if 0'd remnants of the old idle page zeroing.
John Baldwin [Sat, 1 Sep 2001 20:17:43 +0000 (20:17 +0000)]
Remove #if 0'd remnants of the old idle page zeroing.

23 years agoProcess priority is locked by the sched_lock, not the proc lock.
John Baldwin [Sat, 1 Sep 2001 20:16:30 +0000 (20:16 +0000)]
Process priority is locked by the sched_lock, not the proc lock.

23 years agoo At some point, unmounting a non-EA file system with EA's compiled
Robert Watson [Sat, 1 Sep 2001 20:11:05 +0000 (20:11 +0000)]
o At some point, unmounting a non-EA file system with EA's compiled
  in got a bit broken, when ufs_extattr_stop() was called and failed,
  ufs_extattr_destroy() would panic.  This makes the call to destroy()
  conditional on the success of stop().

Submitted by: Christian Carstensen <cc@devcon.net>
Obtained from: TrustedBSD Project

23 years agoRegenerate syscalls
Matthew Dillon [Sat, 1 Sep 2001 19:37:41 +0000 (19:37 +0000)]
Regenerate syscalls

23 years agoSynchronize syscalls.master(s) with recent Giant pushdown work
Matthew Dillon [Sat, 1 Sep 2001 19:36:48 +0000 (19:36 +0000)]
Synchronize syscalls.master(s) with recent Giant pushdown work

23 years agoGiant Pushdown:
Matthew Dillon [Sat, 1 Sep 2001 19:34:23 +0000 (19:34 +0000)]
Giant Pushdown:
    read() pread() readv() write () pwrite() writev() ioctl() select ()
    poll() openbsd_poll()

23 years agoSupply a default value for the kernel config binary.
Luigi Rizzo [Sat, 1 Sep 2001 19:16:00 +0000 (19:16 +0000)]
Supply a default value for the kernel config binary.

23 years agoGiant Pushdown. Saved the worst P4 tree breakage for last.
Matthew Dillon [Sat, 1 Sep 2001 19:04:37 +0000 (19:04 +0000)]
Giant Pushdown.  Saved the worst P4 tree breakage for last.

    reboot() getpriority() setpriority() rtprio() osetrlimit() ogetrlimit()
    setrlimit() getrlimit() getrusage() getpid() getppid() getpgrp()
    getpgid() getsid() getgid() getegid() getgroups() setsid() setpgid()
    setuid() seteuid() setgid() setegid() setgroups() setreuid() setregid()
    setresuid() setresgid() getresuid() getresgid () __setugid() getlogin()
    setlogin() modnext() modfnext() modstat() modfind() kldload() kldunload()
    kldfind() kldnext() kldstat() kldfirstmod() kldsym() getdtablesize()
    dup2() dup() fcntl() close() ofstat() fstat() nfsstat() fpathconf()
    flock()

23 years agoBugfix: Use the correct variable for picobsd type (same bug is
Luigi Rizzo [Sat, 1 Sep 2001 18:27:39 +0000 (18:27 +0000)]
Bugfix: Use the correct variable for picobsd type (same bug is
present in STABLE).  Also add a bit more logging (when enabled).

23 years agoGiant Pushdown
Matthew Dillon [Sat, 1 Sep 2001 18:19:21 +0000 (18:19 +0000)]
Giant Pushdown

clock_gettime() clock_settime() nanosleep() settimeofday()
adjtime() getitimer() setitimer() __sysctl() ogetkerninfo()
sigaction() osigaction() sigpending() osigpending() osigvec()
osigblock() osigsetmask() sigsuspend() osigsuspend() osigstack()
sigaltstack() kill() okillpg() trapsignal() nosys()

23 years agoSpeculatively add this file. It's part of the Linuxulator update
Marcel Moolenaar [Sat, 1 Sep 2001 18:11:45 +0000 (18:11 +0000)]
Speculatively add this file. It's part of the Linuxulator update
to make it emulate Linux kernel version 2.4.2, which is required
in order to upgrade the linux_base port to RH 7.1.

Note that this file is only needed for 32-bit architectures. To
us this means i386 (for now?)

23 years agoSave errno before function call and restore it on success (because many
Andrey A. Chernov [Sat, 1 Sep 2001 15:28:24 +0000 (15:28 +0000)]
Save errno before function call and restore it on success (because many
internal functions there may fail and set (i.e. overwrite) errno in normal
(not error) situation). In original variant errno testing after call
(as POSIX suggest) is wrong when errno overwrite happens.

23 years agoRemove even more unneded checks, original code can't overflows in that place
Andrey A. Chernov [Sat, 1 Sep 2001 15:01:37 +0000 (15:01 +0000)]
Remove even more unneded checks, original code can't overflows in that place

23 years agoRemove two checks unneeded now (can't happens)
Andrey A. Chernov [Sat, 1 Sep 2001 14:48:45 +0000 (14:48 +0000)]
Remove two checks unneeded now (can't happens)

23 years agoMake fseek(... SEEK_CUR) fails if current file-position is unspecified.
Andrey A. Chernov [Sat, 1 Sep 2001 14:40:01 +0000 (14:40 +0000)]
Make fseek(... SEEK_CUR) fails if current file-position is unspecified.

23 years agoNote that prev. commit addition is for ftell/ftello
Andrey A. Chernov [Sat, 1 Sep 2001 14:23:30 +0000 (14:23 +0000)]
Note that prev. commit addition is for ftell/ftello

23 years agoDescribe ESPIPE as result of unspecified file-position indicator value.
Andrey A. Chernov [Sat, 1 Sep 2001 14:11:53 +0000 (14:11 +0000)]
Describe ESPIPE as result of unspecified file-position indicator value.
Add more to SEE ALSO section.

23 years agoDescribe file-position behaviour from POSIX
Andrey A. Chernov [Sat, 1 Sep 2001 14:01:52 +0000 (14:01 +0000)]
Describe file-position behaviour from POSIX

23 years agoStrict in the POSIX sence, if file position is unspecified after ungetc() at
Andrey A. Chernov [Sat, 1 Sep 2001 12:13:33 +0000 (12:13 +0000)]
Strict in the POSIX sence, if file position is unspecified after ungetc() at
0, return that we can't specify it, i.e. error with ESPIPE.
(hint from: "Peter S. Housel" <housel@acm.org>)

Back out sinit() addition, not needed after various code simplifications.

23 years agoIf lseek to wrong value sucessfully happens despite all pre-checks, set __SERR
Andrey A. Chernov [Sat, 1 Sep 2001 11:21:28 +0000 (11:21 +0000)]
If lseek to wrong value sucessfully happens despite all pre-checks, set __SERR
to indicate that stream becomes inconsistent.

23 years agoIf position is underflowed, don't try to hide that fact by recovery, just
Andrey A. Chernov [Sat, 1 Sep 2001 11:18:53 +0000 (11:18 +0000)]
If position is underflowed, don't try to hide that fact by recovery, just
return EIO and set __SERR to mark stream as inconsistent.

23 years agoNew release note: syslogd -b
Dima Dorfman [Sat, 1 Sep 2001 10:52:25 +0000 (10:52 +0000)]
New release note: syslogd -b

23 years agoFirst check whether the USB transfer was cancelled before starting to
Nick Hibma [Sat, 1 Sep 2001 09:38:45 +0000 (09:38 +0000)]
First check whether the USB transfer was cancelled before starting to
use the data structures related to that keyboard.

23 years agoRegen.
Nick Hibma [Sat, 1 Sep 2001 09:35:46 +0000 (09:35 +0000)]
Regen.

23 years agoSpelling nit.
Nick Hibma [Sat, 1 Sep 2001 09:33:15 +0000 (09:33 +0000)]
Spelling nit.

23 years agoMake "atapi less" kernels link again.
Søren Schmidt [Sat, 1 Sep 2001 08:47:11 +0000 (08:47 +0000)]
Make "atapi less" kernels link again.

Question is if we should allow the ioctl only interface to be
created if atapi devices are present, but no driver linked in....

23 years agoIntroduce a -b option that allows the user to specify which address to
Dima Dorfman [Sat, 1 Sep 2001 08:42:49 +0000 (08:42 +0000)]
Introduce a -b option that allows the user to specify which address to
bind to.  This is useful for hosts running jails that need syslog to
maintain an open socket to log to a remote host.

Reviewed by: sheldonh

23 years agoUndo last commit. The problem's been fixed for a long time.
Matthew Dillon [Sat, 1 Sep 2001 08:31:09 +0000 (08:31 +0000)]
Undo last commit. The problem's been fixed for a long time.

23 years agoUpdate a duplicate quotation.
Kris Kennaway [Sat, 1 Sep 2001 08:01:06 +0000 (08:01 +0000)]
Update a duplicate quotation.

PR: 30228
MFC after: 2 weeks

23 years agoFix some unsafe signal handlers, and be careful not to overflow on fd_set.
Kris Kennaway [Sat, 1 Sep 2001 07:57:35 +0000 (07:57 +0000)]
Fix some unsafe signal handlers, and be careful not to overflow on fd_set.
Fix some string buffer operations.

Based on: OpenBSD
Reviewed by: audit
MFC after: 2 weeks

23 years agoDon't do unsafe activities in the syscall handler.
Kris Kennaway [Sat, 1 Sep 2001 07:40:19 +0000 (07:40 +0000)]
Don't do unsafe activities in the syscall handler.

MFC after: 2 weeks

23 years agoRemove some unsafe function calls from the signal handlers.
Kris Kennaway [Sat, 1 Sep 2001 07:35:25 +0000 (07:35 +0000)]
Remove some unsafe function calls from the signal handlers.

Obtained from: OpenBSD
Reviewed by: audit
MFC after: 2 weeks

23 years agoPushdown Giant for: profil(), ntp_adjtime(), ogethostname(),
Matthew Dillon [Sat, 1 Sep 2001 05:47:58 +0000 (05:47 +0000)]
Pushdown Giant for: profil(), ntp_adjtime(), ogethostname(),
osethostname(), ogethostid(), osethostid()

23 years agoIt is *indeed* possible to run Alpha Linux binaries under emulation.
Bruce A. Mah [Sat, 1 Sep 2001 04:39:16 +0000 (04:39 +0000)]
It is *indeed* possible to run Alpha Linux binaries under emulation.

Reviewed by: gallatin

23 years agoGiant pushdown sys_exit(), [o]wait(), wait4()
Matthew Dillon [Sat, 1 Sep 2001 04:37:34 +0000 (04:37 +0000)]
Giant pushdown sys_exit(), [o]wait(), wait4()

23 years agoGiant Pushdown ACL syscalls:
Matthew Dillon [Sat, 1 Sep 2001 04:33:22 +0000 (04:33 +0000)]
Giant Pushdown ACL syscalls:

__acl_get_file, __acl_set_file, __acl_get_fd, __acl_set_fd,
__acl_delete_file, __acl_delete_fd, __acl_aclcheck_file,
__acl_aclcheck_fd

23 years agoregenerate syscalls
Matthew Dillon [Sat, 1 Sep 2001 03:56:12 +0000 (03:56 +0000)]
regenerate syscalls

23 years agoMake yield() MPSAFE.
Matthew Dillon [Sat, 1 Sep 2001 03:54:09 +0000 (03:54 +0000)]
Make yield() MPSAFE.

Synchronize syscalls.master with all MPSAFE changes to date.  Synchronize
new syscall generation follows because yield() will panic if it is out
of sync with syscalls.master.

23 years agoPushdown Giant for acct(), kqueue(), kevent(), execve(), fork(),
Matthew Dillon [Sat, 1 Sep 2001 03:04:31 +0000 (03:04 +0000)]
Pushdown Giant for acct(), kqueue(), kevent(), execve(), fork(),
vfork(), rfork(), jail().

23 years agoBack out disabling ungetc() at 0, use different solution:
Andrey A. Chernov [Sat, 1 Sep 2001 01:56:54 +0000 (01:56 +0000)]
Back out disabling ungetc() at 0, use different solution:
keep negative offset internally, but return 0 externally in ftell*()
I.e. use 0 now as 'unspecified value' per POSIX ungetc() description.

23 years agoAxe stale mp_fixme().
John Baldwin [Sat, 1 Sep 2001 00:49:29 +0000 (00:49 +0000)]
Axe stale mp_fixme().

23 years agoo Attach cap_cmp.c and cap_copy.c to the build.
Robert Watson [Sat, 1 Sep 2001 00:00:50 +0000 (00:00 +0000)]
o Attach cap_cmp.c and cap_copy.c to the build.
o Attach cap_copy_ext.3 and cap_copy_int.3 to the install, and link
  cap_size.3 to cap_copy_ext.3.

Submitted by: tmm
Obtained from: TrustedBSD Project

23 years agoo More conservative permissions for kerberos.log: 600 instead of 644.
Robert Watson [Fri, 31 Aug 2001 23:44:51 +0000 (23:44 +0000)]
o More conservative permissions for kerberos.log: 600 instead of 644.

Reviewed by: peter

23 years agoDescribe EOVERFLOW I implement per POSIX.
Andrey A. Chernov [Fri, 31 Aug 2001 23:06:28 +0000 (23:06 +0000)]
Describe EOVERFLOW I implement per POSIX.
Sort ERRORS section

23 years agoDon't claim memory resources owned by a PNP0C01 device ("system memory")
Mike Smith [Fri, 31 Aug 2001 22:59:04 +0000 (22:59 +0000)]
Don't claim memory resources owned by a PNP0C01 device ("system memory")
as some systems claim the entire physical address space is owned by it.

23 years agoAdd an entry for the Zip 250.
Murray Stokely [Fri, 31 Aug 2001 22:49:22 +0000 (22:49 +0000)]
Add an entry for the Zip 250.

PR: i386/29639
Submitted by: David Yeske <dyeske@yahoo.com>

23 years agoPushdown Giant for nfs syscalls (nfssvc())
Matthew Dillon [Fri, 31 Aug 2001 22:39:36 +0000 (22:39 +0000)]
Pushdown Giant for nfs syscalls (nfssvc())

23 years agoMake various posix4 system calls MPSAFE (will fixup syscalls.master later)
Matthew Dillon [Fri, 31 Aug 2001 22:34:40 +0000 (22:34 +0000)]
Make various posix4 system calls MPSAFE (will fixup syscalls.master later)
    sched_setparam()
    sched_getparam()
    sched_setscheduler()
    sched_getscheduler()
    sched_yield()
    sched_get_priority_max()
    sched_get_priority_min()
    sched_rr_get_interval()

23 years agoAdd entries for 3wire terminals. (carrier not supplied, so we set nc).
Murray Stokely [Fri, 31 Aug 2001 22:18:50 +0000 (22:18 +0000)]
Add entries for 3wire terminals.  (carrier not supplied, so we set nc).

PR: conf/26420
Submitted by: Jon Passki <cykyc@yahoo.com>

23 years agomake swapon() MPSAFE (will adjust syscalls.master later)
Matthew Dillon [Fri, 31 Aug 2001 22:15:37 +0000 (22:15 +0000)]
make swapon() MPSAFE (will adjust syscalls.master later)

23 years agoAdd FD_SETSIZE warning to types.h
Matthew Dillon [Fri, 31 Aug 2001 22:12:32 +0000 (22:12 +0000)]
Add FD_SETSIZE warning to types.h

23 years agomark obreak() and ovadvise() as being MPSAFE
Matthew Dillon [Fri, 31 Aug 2001 22:10:03 +0000 (22:10 +0000)]
mark obreak() and ovadvise() as being MPSAFE

23 years agoAdd ID for the Best Data Smart One 56SPS Voice modem.
Murray Stokely [Fri, 31 Aug 2001 21:51:00 +0000 (21:51 +0000)]
Add ID for the Best Data Smart One 56SPS Voice modem.

PR: kern/24851
Submitted by: Daniel Rudy <dcrudy@aol.com>

23 years agoadd 2300/2312 notes
Matt Jacob [Fri, 31 Aug 2001 21:50:09 +0000 (21:50 +0000)]
add 2300/2312 notes

23 years agoExit gracefully when a SIGHUP is received. This prevents ee from going into
Mark Peek [Fri, 31 Aug 2001 21:50:06 +0000 (21:50 +0000)]
Exit gracefully when a SIGHUP is received. This prevents ee from going into
an infinite spin loop when the terminal window is forcibly blown away.

PR: 29553
Reported by: Sung N. Cho <sucho2@vt.edu>
MFC after: 1 day

23 years agoo Screw over users of the kern.{security.,}suser_permitted sysctl again,
Robert Watson [Fri, 31 Aug 2001 21:44:12 +0000 (21:44 +0000)]
o Screw over users of the kern.{security.,}suser_permitted sysctl again,
  by renaming it to kern.security.suser_enabled.  This makes the name
  consistent with other use: "permitted" now refers to a specific right
  or privilege, whereas "enabled" refers to a feature.  As this hasn't
  been MFC'd, and using this destroys a running system currently, I believe
  the user base of the sysctl will not be too unhappy.
o While I'm at it, un-staticize and export the supporting variable, as it
  will be used by kern_cap.c shortly.

Obtained from: TrustedBSD Project

23 years agoadd 2300/2312 references
Matt Jacob [Fri, 31 Aug 2001 21:43:35 +0000 (21:43 +0000)]
add 2300/2312 references

23 years agoCorrect the ID for the ALS0120 PnP Joystick. It is different from the
Murray Stokely [Fri, 31 Aug 2001 21:40:56 +0000 (21:40 +0000)]
Correct the ID for the ALS0120 PnP Joystick.  It is different from the
ALS0110.

PR: kern/22617
Submitted by: Mike Holling <myke@fks.bt>

23 years agonote 2300/2312 support
Matt Jacob [Fri, 31 Aug 2001 21:39:56 +0000 (21:39 +0000)]
note 2300/2312 support

23 years agoAdd 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required
Matt Jacob [Fri, 31 Aug 2001 21:39:04 +0000 (21:39 +0000)]
Add 2 Gigabit Fibre Channel support (2300 && 2312 cards). This required
some reworking (and consequent cleanup) of the interrupt service code.

Also begin to start a cleanup of target mode support that will (eventually)
not require more inforamtion routed with the ATIO to come back with the
CTIO other than tag.

MFC after: 4 weeks

23 years agoAdd 2300/2312 (2Gbit) firmware.
Matt Jacob [Fri, 31 Aug 2001 21:25:15 +0000 (21:25 +0000)]
Add 2300/2312 (2Gbit) firmware.

23 years agoAdd OMRON ME5614ISA PnP modem.
Murray Stokely [Fri, 31 Aug 2001 20:37:02 +0000 (20:37 +0000)]
Add OMRON ME5614ISA PnP modem.

PR: kern/22801
Submitted by: Ryuzo Okada <R.Okada@mm.neweb.ne.jp>

23 years agoAdd originally missing __sinit() call.
Andrey A. Chernov [Fri, 31 Aug 2001 20:36:19 +0000 (20:36 +0000)]
Add originally missing __sinit() call.

23 years agoSimplify offset underflow checks even more
Andrey A. Chernov [Fri, 31 Aug 2001 20:17:32 +0000 (20:17 +0000)]
Simplify offset underflow checks even more

23 years agoAdd PCI device IDs for Kuotech dual port serial cards.
Murray Stokely [Fri, 31 Aug 2001 20:16:00 +0000 (20:16 +0000)]
Add PCI device IDs for Kuotech dual port serial cards.
Also give example of the flags needed to use these cards.

PR: kern/21242
Submitted by: Shigeki Moride <moride@portside.net>

23 years agoPreserve /etc/hosts.allow and /etc/dhclient.conf during upgrades.
Jordan K. Hubbard [Fri, 31 Aug 2001 20:10:01 +0000 (20:10 +0000)]
Preserve /etc/hosts.allow and /etc/dhclient.conf during upgrades.

Noted by: Tim Zingelman <zingelman@fnal.gov>

23 years agoDescribe that we disallow ungetc at offset 0 now.
Andrey A. Chernov [Fri, 31 Aug 2001 20:03:49 +0000 (20:03 +0000)]
Describe that we disallow ungetc at offset 0 now.

23 years agoWhoops, forgot a hunk on the previous patch. Fix RTSOL variable handling
Jordan K. Hubbard [Fri, 31 Aug 2001 20:03:05 +0000 (20:03 +0000)]
Whoops, forgot a hunk on the previous patch.  Fix RTSOL variable handling
AND DHCP handling.

23 years agoPR: 26187
Jordan K. Hubbard [Fri, 31 Aug 2001 19:56:59 +0000 (19:56 +0000)]
PR:             26187
Submitted by:   Glenn Trewitt <glenn@trewitt.org>

23 years agoDisallow ungetc at offset 0 (to prevent negative offset happens), so simplify
Andrey A. Chernov [Fri, 31 Aug 2001 19:50:25 +0000 (19:50 +0000)]
Disallow ungetc at offset 0 (to prevent negative offset happens), so simplify
checks in ftell.

23 years agoDrop buffer first, _then_ ask for real position
Andrey A. Chernov [Fri, 31 Aug 2001 18:54:44 +0000 (18:54 +0000)]
Drop buffer first, _then_ ask for real position

23 years agoThe same big piece of ftell code repeated in 3 places. Simplify things moving
Andrey A. Chernov [Fri, 31 Aug 2001 18:23:29 +0000 (18:23 +0000)]
The same big piece of ftell code repeated in 3 places. Simplify things moving
it into one subfunction instead.
Try to use real offset in strange cases.

23 years agoDon't activate placeholder resources; it can be very expensive in the
Mike Smith [Fri, 31 Aug 2001 18:08:50 +0000 (18:08 +0000)]
Don't activate placeholder resources; it can be very expensive in the
SYS_RES_MEMORY case, and it shouldn't be necessary.

23 years agoWhitespace-only commit that can be ignored by translators.
Bruce A. Mah [Fri, 31 Aug 2001 17:26:18 +0000 (17:26 +0000)]
Whitespace-only commit that can be ignored by translators.

The 1.2->1.4 deltas caused the indentation of this document to become
massively...well...confused.  Try to fix this.

23 years agodiskcheckd(8) is gone from the base system, so undo its release note.
Bruce A. Mah [Fri, 31 Aug 2001 16:47:57 +0000 (16:47 +0000)]
diskcheckd(8) is gone from the base system, so undo its release note.

23 years agoSECURITY: Drop `setgid kmem' bit as early as possible.
Ruslan Ermilov [Fri, 31 Aug 2001 16:26:37 +0000 (16:26 +0000)]
SECURITY: Drop `setgid kmem' bit as early as possible.

23 years agoSort predicates.
Ruslan Ermilov [Fri, 31 Aug 2001 15:48:00 +0000 (15:48 +0000)]
Sort predicates.

PR: docs/30237

23 years agoThe file_descriptor argument to -t isn't optional, so don't mark it up so.
Dima Dorfman [Fri, 31 Aug 2001 15:38:53 +0000 (15:38 +0000)]
The file_descriptor argument to -t isn't optional, so don't mark it up so.

23 years agoMake the 'echo' output for blanktime and scrnmap consistent with their
Dima Dorfman [Fri, 31 Aug 2001 15:29:24 +0000 (15:29 +0000)]
Make the 'echo' output for blanktime and scrnmap consistent with their
variable names.  There were minor differences in both cases, which were
needlessly confusing and inconsistent.

23 years agoIf file offset is smaller than internal buffer character left count, just drop
Andrey A. Chernov [Fri, 31 Aug 2001 14:11:14 +0000 (14:11 +0000)]
If file offset is smaller than internal buffer character left count, just drop
internal buffer and trust offset, not return error.

23 years agoAdd missing "opt_inet6.h" header.
Jonathan Lemon [Fri, 31 Aug 2001 13:49:03 +0000 (13:49 +0000)]
Add missing "opt_inet6.h" header.

23 years agoWhitespace change.
Jonathan Lemon [Fri, 31 Aug 2001 13:46:22 +0000 (13:46 +0000)]
Whitespace change.

23 years agoInitialize _offset to 0 in fopen(), it helps to optimize fseek/ftell
Andrey A. Chernov [Fri, 31 Aug 2001 13:14:49 +0000 (13:14 +0000)]
Initialize _offset to 0 in fopen(), it helps to optimize fseek/ftell

23 years agoDetect fp->_offset overflow on read
Andrey A. Chernov [Fri, 31 Aug 2001 12:55:22 +0000 (12:55 +0000)]
Detect fp->_offset overflow on read
Use errno to catch negative seek with -1 offset

23 years agomdoc(7) police: minor formatting tweaks.
Ruslan Ermilov [Fri, 31 Aug 2001 12:52:50 +0000 (12:52 +0000)]
mdoc(7) police: minor formatting tweaks.

23 years agoSynch with NetBSD and OpenBSD.
Ruslan Ermilov [Fri, 31 Aug 2001 12:31:09 +0000 (12:31 +0000)]
Synch with NetBSD and OpenBSD.

Allow non-superuser to open, listen to, and send safe commands on the
routing socket.  Superuser priviledge is required for all commands
but RTM_GET.

Lose `setuid root' bit of route(8).

Reviewed by: wollman, dd

23 years agoFinal way: Don't include /etc/defaults/make.conf at all. It wasn't
Alexander Langer [Fri, 31 Aug 2001 12:20:43 +0000 (12:20 +0000)]
Final way:  Don't include /etc/defaults/make.conf at all.  It wasn't
supposed to be edited by the user and didn't define important things,
thus we can just skip it (that's where it differs from the make.conf.local
change).

Submitted by: ru

23 years agoAdd myself.
Jose M. Alcaide [Fri, 31 Aug 2001 11:35:18 +0000 (11:35 +0000)]
Add myself.

23 years agoDon't .error, if /etc/defaults/make.conf exists. This breaks -CURRENT
Alexander Langer [Fri, 31 Aug 2001 11:18:24 +0000 (11:18 +0000)]
Don't .error, if /etc/defaults/make.conf exists.  This breaks -CURRENT
buildworlds on a -STABLE machine.

Reminded by: ru

23 years agoFixed style bugs in rev.1.4, including clobbering of the "Don't generate
Bruce Evans [Fri, 31 Aug 2001 11:15:49 +0000 (11:15 +0000)]
Fixed style bugs in rev.1.4, including clobbering of the "Don't generate
y.output" part of rev.1.11.

23 years agoDon't clobber the default for CFLAGS.
Bruce Evans [Fri, 31 Aug 2001 11:05:24 +0000 (11:05 +0000)]
Don't clobber the default for CFLAGS.

23 years agoDon't clobber the default for CFLAGS.
Bruce Evans [Fri, 31 Aug 2001 11:01:20 +0000 (11:01 +0000)]
Don't clobber the default for CFLAGS.

Reviewed by: dfr

23 years agoAdd manpage for inet_net_ntop(3) and inet_net_pton(3).
Ruslan Ermilov [Fri, 31 Aug 2001 10:54:44 +0000 (10:54 +0000)]
Add manpage for inet_net_ntop(3) and inet_net_pton(3).

Obtained from: NetBSD

23 years agoUse ``.Rv -std'' wherever possible.
Ruslan Ermilov [Fri, 31 Aug 2001 09:57:38 +0000 (09:57 +0000)]
Use ``.Rv -std'' wherever possible.

Submitted by: yar