]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
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.
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.
Chris Costello [Sat, 1 Sep 2001 21:32:52 +0000 (21:32 +0000)]
Another punctuation fix (missing comma ending preposition).
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.
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>
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.
John Baldwin [Sat, 1 Sep 2001 20:17:43 +0000 (20:17 +0000)]
Remove #if 0'd remnants of the old idle page zeroing.
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.
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
Matthew Dillon [Sat, 1 Sep 2001 19:37:41 +0000 (19:37 +0000)]
Regenerate syscalls
Matthew Dillon [Sat, 1 Sep 2001 19:36:48 +0000 (19:36 +0000)]
Synchronize syscalls.master(s) with recent Giant pushdown work
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()
Luigi Rizzo [Sat, 1 Sep 2001 19:16:00 +0000 (19:16 +0000)]
Supply a default value for the kernel config binary.
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()
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).
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()
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?)
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.
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
Andrey A. Chernov [Sat, 1 Sep 2001 14:48:45 +0000 (14:48 +0000)]
Remove two checks unneeded now (can't happens)
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.
Andrey A. Chernov [Sat, 1 Sep 2001 14:23:30 +0000 (14:23 +0000)]
Note that prev. commit addition is for ftell/ftello
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.
Andrey A. Chernov [Sat, 1 Sep 2001 14:01:52 +0000 (14:01 +0000)]
Describe file-position behaviour from POSIX
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.
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.
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.
Dima Dorfman [Sat, 1 Sep 2001 10:52:25 +0000 (10:52 +0000)]
New release note: syslogd -b
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.
Nick Hibma [Sat, 1 Sep 2001 09:35:46 +0000 (09:35 +0000)]
Regen.
Nick Hibma [Sat, 1 Sep 2001 09:33:15 +0000 (09:33 +0000)]
Spelling nit.
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....
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
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.
Kris Kennaway [Sat, 1 Sep 2001 08:01:06 +0000 (08:01 +0000)]
Update a duplicate quotation.
PR: 30228
MFC after: 2 weeks
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
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
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
Matthew Dillon [Sat, 1 Sep 2001 05:47:58 +0000 (05:47 +0000)]
Pushdown Giant for: profil(), ntp_adjtime(), ogethostname(),
osethostname(), ogethostid(), osethostid()
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
Matthew Dillon [Sat, 1 Sep 2001 04:37:34 +0000 (04:37 +0000)]
Giant pushdown sys_exit(), [o]wait(), wait4()
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
Matthew Dillon [Sat, 1 Sep 2001 03:56:12 +0000 (03:56 +0000)]
regenerate syscalls
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.
Matthew Dillon [Sat, 1 Sep 2001 03:04:31 +0000 (03:04 +0000)]
Pushdown Giant for acct(), kqueue(), kevent(), execve(), fork(),
vfork(), rfork(), jail().
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.
John Baldwin [Sat, 1 Sep 2001 00:49:29 +0000 (00:49 +0000)]
Axe stale mp_fixme().
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
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
Andrey A. Chernov [Fri, 31 Aug 2001 23:06:28 +0000 (23:06 +0000)]
Describe EOVERFLOW I implement per POSIX.
Sort ERRORS section
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.
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>
Matthew Dillon [Fri, 31 Aug 2001 22:39:36 +0000 (22:39 +0000)]
Pushdown Giant for nfs syscalls (nfssvc())
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()
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>
Matthew Dillon [Fri, 31 Aug 2001 22:15:37 +0000 (22:15 +0000)]
make swapon() MPSAFE (will adjust syscalls.master later)
Matthew Dillon [Fri, 31 Aug 2001 22:12:32 +0000 (22:12 +0000)]
Add FD_SETSIZE warning to types.h
Matthew Dillon [Fri, 31 Aug 2001 22:10:03 +0000 (22:10 +0000)]
mark obreak() and ovadvise() as being MPSAFE
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>
Matt Jacob [Fri, 31 Aug 2001 21:50:09 +0000 (21:50 +0000)]
add 2300/2312 notes
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
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
Matt Jacob [Fri, 31 Aug 2001 21:43:35 +0000 (21:43 +0000)]
add 2300/2312 references
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>
Matt Jacob [Fri, 31 Aug 2001 21:39:56 +0000 (21:39 +0000)]
note 2300/2312 support
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
Matt Jacob [Fri, 31 Aug 2001 21:25:15 +0000 (21:25 +0000)]
Add 2300/2312 (2Gbit) firmware.
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>
Andrey A. Chernov [Fri, 31 Aug 2001 20:36:19 +0000 (20:36 +0000)]
Add originally missing __sinit() call.
Andrey A. Chernov [Fri, 31 Aug 2001 20:17:32 +0000 (20:17 +0000)]
Simplify offset underflow checks even more
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>
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>
Andrey A. Chernov [Fri, 31 Aug 2001 20:03:49 +0000 (20:03 +0000)]
Describe that we disallow ungetc at offset 0 now.
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.
Jordan K. Hubbard [Fri, 31 Aug 2001 19:56:59 +0000 (19:56 +0000)]
PR: 26187
Submitted by: Glenn Trewitt <glenn@trewitt.org>
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.
Andrey A. Chernov [Fri, 31 Aug 2001 18:54:44 +0000 (18:54 +0000)]
Drop buffer first, _then_ ask for real position
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.
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.
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.
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.
Ruslan Ermilov [Fri, 31 Aug 2001 16:26:37 +0000 (16:26 +0000)]
SECURITY: Drop `setgid kmem' bit as early as possible.
Ruslan Ermilov [Fri, 31 Aug 2001 15:48:00 +0000 (15:48 +0000)]
Sort predicates.
PR: docs/30237
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.
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.
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.
Jonathan Lemon [Fri, 31 Aug 2001 13:49:03 +0000 (13:49 +0000)]
Add missing "opt_inet6.h" header.
Jonathan Lemon [Fri, 31 Aug 2001 13:46:22 +0000 (13:46 +0000)]
Whitespace change.
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
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
Ruslan Ermilov [Fri, 31 Aug 2001 12:52:50 +0000 (12:52 +0000)]
mdoc(7) police: minor formatting tweaks.
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
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
Jose M. Alcaide [Fri, 31 Aug 2001 11:35:18 +0000 (11:35 +0000)]
Add myself.
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
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.
Bruce Evans [Fri, 31 Aug 2001 11:05:24 +0000 (11:05 +0000)]
Don'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
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
Ruslan Ermilov [Fri, 31 Aug 2001 09:57:38 +0000 (09:57 +0000)]
Use ``.Rv -std'' wherever possible.
Submitted by: yar