Takeshi Shibagaki
a8bc31671a
Update cis tuple parser, add a pccarddevs entry,
...
and improve PCCARD_IVAR_ETHADDR in pccard_read_ivar().
Change points:
(1) Read Function Ext tuple.
(2) Add Ratoc REX-R280 entry(fe driver).
(3) Take ether address from function ext tuple.
Reviewed by: imp
Obtained from: NetBSD
2001-09-02 06:37:41 +00:00
Takeshi Shibagaki
81597dfc29
Make the fe driver to compile in default under a NEWCARD kernel.
...
Reviewed by: imp
2001-09-02 06:28:37 +00:00
Mitsuru IWASAKI
dd081ed5d0
Fix typo; CTLFLAG_RO -> CTLFLAG_RD.
2001-09-02 06:28:20 +00:00
Takeshi Shibagaki
c8dab10220
Update the fe driver to probe and attach under a NEWCARD kernel.
...
Reviewed by: imp
Obtained from: NetBSD
2001-09-02 06:27:07 +00:00
David E. O'Brien
b20e8db347
Document my tweaks better.
2001-09-02 04:06:48 +00:00
John Baldwin
e342cd279f
Use sched_lock to protect rtp_to_pri() and pri_to_rtp() when needed.
2001-09-02 01:05:36 +00:00
John Baldwin
51b4eed974
Protect pri_to_rtp() with sched_lock when needed.
2001-09-02 00:52:11 +00:00
Valentino Vaschetto
cd15fd4ec7
From Mike Silbersack's message on cvs-commits:
...
> > Doh! There is a sx man page, the mutex man page just doesn't have a SEE
> > ALSO pointing to sx(9). Could some mdoc madman go add one?
2001-09-02 00:45:41 +00:00
Andrey A. Chernov
8cdc766763
strtol -> strtoll (for off_t file size)
2001-09-01 23:36:40 +00:00
Andrey A. Chernov
7cbfe4d8da
File positions are off_t nowdays, not long, so:
...
fseek -> fseeko
ftell -> ftello
NOTE: that fseek/ftell not works for >long offsets per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
[EOVERFLOW] For ftell ( ), the current file offset cannot be represented
correctly in an object of type long.
2001-09-01 23:26:40 +00:00
Chris D. Faulhaber
dac4a67ce7
Use ACL_PERM_NONE instead of hardcoding 0 when initializing
...
ACL entry permissions.
Reviewed by: rwatson
2001-09-01 23:18:15 +00:00
Chris D. Faulhaber
dbb14f9874
In the case of ACL_OTHER and undefined ACL entry id's, set
...
ae_id to ACL_UNDEFINED_ID instead of 0.
Reviewed by: rwatson
2001-09-01 23:16:02 +00:00
Nick Hibma
c2d7a52a1b
Small nit: Make both prints use 'at device %d.%d'.
2001-09-01 23:06:14 +00:00
Andrey A. Chernov
bb8d56ce53
File positions are off_t nowdays, not long, so:
...
long -> off_t
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.
2001-09-01 23:01:29 +00:00
Andrey A. Chernov
7a27e6571b
File positions are off_t nowdays, not long, so:
...
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.
2001-09-01 22:42:47 +00:00
Mike Smith
dde24897d2
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.
2001-09-01 22:41:53 +00:00
Andrey A. Chernov
bd9dc97512
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.
2001-09-01 22:22:45 +00:00
Chris Costello
fd818070c8
Another punctuation fix (missing comma ending preposition).
2001-09-01 21:32:52 +00:00
Chris Costello
d997ce6456
o Mention the fact that specifying a fileid of 0 searches all loaded
...
modules.
o Properly terminate a preposition.
2001-09-01 21:31:33 +00:00
Luigi Rizzo
93c013c83e
use correct "compile" directory, which is ../../compile/<filename>
...
This does not apply to RELENG_4 for which the compile directory is
../compile/<filename>
2001-09-01 21:19:15 +00:00
Robert Watson
78eb04b942
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.
2001-09-01 21:00:28 +00:00
John Baldwin
da3abba462
Remove #if 0'd remnants of the old idle page zeroing.
2001-09-01 20:17:43 +00:00
John Baldwin
29fdb744d1
Process priority is locked by the sched_lock, not the proc lock.
2001-09-01 20:16:30 +00:00
Robert Watson
7df97b6117
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
2001-09-01 20:11:05 +00:00
Matthew Dillon
c8b8bac3ed
Regenerate syscalls
2001-09-01 19:37:41 +00:00
Matthew Dillon
257d198890
Synchronize syscalls.master(s) with recent Giant pushdown work
2001-09-01 19:36:48 +00:00
Matthew Dillon
ad2edad94e
Giant Pushdown:
...
read() pread() readv() write () pwrite() writev() ioctl() select ()
poll() openbsd_poll()
2001-09-01 19:34:23 +00:00
Luigi Rizzo
7f61417f8e
Supply a default value for the kernel config binary.
2001-09-01 19:16:00 +00:00
Matthew Dillon
835a82ee2d
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()
2001-09-01 19:04:37 +00:00
Luigi Rizzo
e619430f32
Bugfix: Use the correct variable for picobsd type (same bug is
...
present in STABLE). Also add a bit more logging (when enabled).
2001-09-01 18:27:39 +00:00
Matthew Dillon
fb99ab8811
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()
2001-09-01 18:19:21 +00:00
Marcel Moolenaar
f5bde65d64
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?)
2001-09-01 18:11:45 +00:00
Andrey A. Chernov
35e1a550de
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.
2001-09-01 15:28:24 +00:00
Andrey A. Chernov
d911eb4536
Remove even more unneded checks, original code can't overflows in that place
2001-09-01 15:01:37 +00:00
Andrey A. Chernov
4fd8a4cf24
Remove two checks unneeded now (can't happens)
2001-09-01 14:48:45 +00:00
Andrey A. Chernov
45892fd855
Make fseek(... SEEK_CUR) fails if current file-position is unspecified.
2001-09-01 14:40:01 +00:00
Andrey A. Chernov
3c4d9468b0
Note that prev. commit addition is for ftell/ftello
2001-09-01 14:23:30 +00:00
Andrey A. Chernov
2f5eadff6b
Describe ESPIPE as result of unspecified file-position indicator value.
...
Add more to SEE ALSO section.
2001-09-01 14:11:53 +00:00
Andrey A. Chernov
a914951d68
Describe file-position behaviour from POSIX
2001-09-01 14:01:52 +00:00
Andrey A. Chernov
6ff604a73a
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.
2001-09-01 12:13:33 +00:00
Andrey A. Chernov
6946977c36
If lseek to wrong value sucessfully happens despite all pre-checks, set __SERR
...
to indicate that stream becomes inconsistent.
2001-09-01 11:21:28 +00:00
Andrey A. Chernov
b13ed88361
If position is underflowed, don't try to hide that fact by recovery, just
...
return EIO and set __SERR to mark stream as inconsistent.
2001-09-01 11:18:53 +00:00
Dima Dorfman
d47a743336
New release note: syslogd -b
2001-09-01 10:52:25 +00:00
Nick Hibma
d7e53003ef
First check whether the USB transfer was cancelled before starting to
...
use the data structures related to that keyboard.
2001-09-01 09:38:45 +00:00
Nick Hibma
2ce5d19515
Regen.
2001-09-01 09:35:46 +00:00
Nick Hibma
c2d98eeaca
Spelling nit.
2001-09-01 09:33:15 +00:00
Søren Schmidt
1f3d9edf37
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....
2001-09-01 08:47:11 +00:00
Dima Dorfman
f676ae2b46
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
2001-09-01 08:42:49 +00:00
Matthew Dillon
3e481b46b5
Undo last commit. The problem's been fixed for a long time.
2001-09-01 08:31:09 +00:00
Kris Kennaway
ae62a4cf07
Update a duplicate quotation.
...
PR: 30228
MFC after: 2 weeks
2001-09-01 08:01:06 +00:00