John-Mark Gurney
c740608242
docment the new sound drivers in LINT and add the necessary files to
...
files.i386.
We aren't sure if this new code and the old sound code will co-exist in a
kernel, so the device pcm0 line is left commented out in LINT.
Submitted-by: Luigi Rizzo
1997-09-14 21:45:05 +00:00
John-Mark Gurney
b7da7b3e2a
Import of Luigi Rizzo's sound code. For more information about the driver
...
check out the README that is included.
Submitted by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1997-09-14 21:42:12 +00:00
Wolfram Schneider
634a86ba38
Install gencat.1 manpage.
...
Obtained from: OpenBSD.
1997-09-14 20:23:02 +00:00
Poul-Henning Kamp
a3dd501081
In these days, waiting one full second for more to appear is far too long.
...
Let's try 250ms.
1997-09-14 19:02:13 +00:00
Joerg Wunsch
acb902182f
Fix the broken VT_WAITACTIVE ioctl for the case where the third arg
...
was 0.
PR: 4164
Submitted by: Joe Traister <traister@mojozone.org>
While i was at it, also fixed a broken return value for the VT_RELDISP
ioctl, iff the third arg was legally VT_TRUE, but the destination
screen was in process mode so the actual switch had to be deferred.
This was breaking the ability to directly toggle between two X servers
running on two VTs, since the server getting the bogus error return
was running wild, and competing with the other one for the hardware.
(Sigh, this was a very long-standing bug.)
1997-09-14 19:01:01 +00:00
Joerg Wunsch
755b925e24
Addf flags 0x10 to the sio0 line, so it is available as a potential
...
console. This features backwards-compatibility to the era when sio(4)
was always available for a console.
1997-09-14 18:57:01 +00:00
Joerg Wunsch
a5b8be1a91
Explain the newer sio(4) flag values.
...
Fogotten by: phk, bde
1997-09-14 18:55:41 +00:00
Wolfram Schneider
d6940a479f
-p flag misdocumented in telnetd(8)
...
PR: 4462
Submitted by: hfir@math.rochester.edu
1997-09-14 18:25:19 +00:00
Wolfram Schneider
8be26e5d0f
Potential bufferflow in getpwent(), getpwnam() and getpwuid()
...
PR: bin/4134
Submitted by: nick@foobar.org
1997-09-14 18:16:11 +00:00
Poul-Henning Kamp
146f72f251
What I did in my vacation.
1997-09-14 18:05:47 +00:00
Garrett Wollman
fa48aded4c
Mention the multicast ping fix and changes to finger, fetch, and netstat.
1997-09-14 17:46:42 +00:00
Garrett Wollman
bdf9cff82b
Talk a little bit about some of the networking changes in the kernel.
1997-09-14 17:35:30 +00:00
Poul-Henning Kamp
27262cac33
Add __getcwd() syscall, and have getcwd() take a shot at it.
...
If your kernel doesn't support __getcwd() or if __getcwd() cannot
deliver because of cache expiry, it does the canonical thing.
1997-09-14 16:57:27 +00:00
Poul-Henning Kamp
7822f1c624
Add a __getcwd() syscall. This is intentionally undocumented, but all
...
it does is to try to figure the pwd out from the vfs namecache, and
return a reversed string to it. libc:getcwd() is responsible for
flipping it back.
1997-09-14 16:51:31 +00:00
KATO Takenori
e70ee0f24b
Synchronize with sys/i386/isa/mse.c, pcaudio.c, sio.c and syscons.c
...
revisions 1.34, 1.37, 1.181 and 1.232, respectively.
1997-09-14 16:27:37 +00:00
Wolfram Schneider
5227e33604
Add some UUCP manpages.
1997-09-14 13:04:26 +00:00
Jordan K. Hubbard
4ba534c963
DTRT with ${viddev} in the same way as the other vidcontrol entries.
...
Reminded by: bde
1997-09-14 12:16:36 +00:00
Peter Wemm
cf41704c63
Bruce wants the warning.
1997-09-14 11:28:30 +00:00
Peter Wemm
535db1806c
Call poll(2) from within the resolver but adapt to older kernels without it
...
if necessary. This removes the need to malloc large fd_set's for selecting
on high fd's (larger than FD_SETSIZE at libc compile time).
The syscall adaptive stuff only happens on the very first call. SIGSYS
is masked, and if the call to poll fails with ENOSYS, then we use select
for the life of the program. If poll does not fail with ENOSYS, then we
always use poll and skip the once-off signal masking gunk.
This may be overkill, but it saved my neck a few times while working on
multiple different sets of kernel sources, some with poll, some without.
1997-09-14 09:44:34 +00:00
Peter Wemm
387dcb61ff
When calling strip, temporarily close the file, call strip and then
...
reopen it after strip has finished. This makes it work when
/usr/bin/strip replaces the file rather than doing an in-place edit
(such as the binutils-2.8 strip, which is a variation of objcopy).
This is necessary if install(1) and strip(1) are going to cooperate
on an ELF system.
1997-09-14 08:21:44 +00:00
Peter Wemm
87963de0e4
Some updates for 3.0: mention changes for poll(2), issetugid(2),
...
async IO, getsid(2), setpgid(2), nanosleep(2), signanosleep(2),
fixes to sleep(3) and usleep(3), the a.out in-kernel linker.
1997-09-14 07:31:12 +00:00
Joerg Wunsch
81be6c75ba
Explain a little more about the piping feature.
...
PR: 4122
1997-09-14 06:55:15 +00:00
Peter Wemm
16115af153
A poll(2) manpage.
...
Obtained from: NetBSD
1997-09-14 05:44:35 +00:00
Peter Wemm
ce234528d8
oops, I accidently committed a version without INFTIM at the last moment.
...
I'm not sure that this is the right place to put it, it is 'supposed' to
live in stropts.h.
1997-09-14 05:38:03 +00:00
Jordan K. Hubbard
2110cdc5e4
XFree86 3.3.1 updates
...
Document new media flag in lieu of links.
1997-09-14 04:18:42 +00:00
Peter Wemm
c4ea5f72e6
SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includes
...
sys/poll.h). Just provide a link, it's close enough. :-) In an ideal
world the prototype for poll() would be in <poll.h> but some code seems
to expect it in <sys/poll.h>, so we can't win there.
1997-09-14 03:32:44 +00:00
Peter Wemm
b52c91dd7e
Generate poll syscall stub
1997-09-14 03:29:55 +00:00
Peter Wemm
35b8b2ddab
Update select -> poll in drivers.
1997-09-14 03:19:42 +00:00
Peter Wemm
ea8ef05f7e
Update select -> poll.
...
I am not particularly happy with this stuff, I have no way to test it.
1997-09-14 03:12:54 +00:00
Peter Wemm
f8f6cbba92
Update network code to use poll support.
1997-09-14 03:10:42 +00:00
Peter Wemm
e0e8ed506f
Update select -> poll
1997-09-14 03:09:01 +00:00
Peter Wemm
243ac7d85a
select -> poll
...
Obtained from: NetBSD (I think)
1997-09-14 03:03:05 +00:00
Peter Wemm
f5d6cf0d60
select -> poll
...
flag missing vnode op table entries
1997-09-14 03:00:44 +00:00
Peter Wemm
a6aeade2c4
Convert select -> poll.
...
Delete 'always succeed' select/poll handlers, replaced with generic call.
Flag missing vnode op table entries.
1997-09-14 02:58:12 +00:00
Peter Wemm
51338ea83c
Various select -> poll changes
1997-09-14 02:52:18 +00:00
Peter Wemm
a2f9bc72c1
vn_select -> vn_poll
1997-09-14 02:51:16 +00:00
Peter Wemm
d87652c3de
Zap nxselect and noselect.
1997-09-14 02:50:28 +00:00
Peter Wemm
7fab77996c
Provide a 'return true' poll vnode op rather than duplicating the
...
'do nothing' case all over the various filesystems.
1997-09-14 02:49:06 +00:00
Peter Wemm
1514b90f2d
Extend select hook to support poll
1997-09-14 02:46:44 +00:00
Peter Wemm
d080b0b0be
Implement the poll backend for the pipe file type.
1997-09-14 02:43:25 +00:00
Peter Wemm
659ffb486a
Convert select handler to poll style
1997-09-14 02:42:03 +00:00
Peter Wemm
6183953301
Extend to use poll backend. If memory serves correctly, most of this was
...
adapted from NetBSD.. However, there are some differences in the tty
system that are big enough to cause their code to not fit comfortably.
Obtained from: NetBSD (I think)
1997-09-14 02:40:46 +00:00
Peter Wemm
6b8e64f55f
Change VOP_SELECT to VOP_POLL
1997-09-14 02:35:25 +00:00
Peter Wemm
e25aa68e0c
Extend select backend for sockets to work with a poll interface (more
...
detail is passed back and forwards). This mostly came from NetBSD, except
that our interfaces have changed a lot and this funciton is in a different
part of the kernel.
Obtained from: NetBSD
1997-09-14 02:34:14 +00:00
Peter Wemm
42d1175732
Implement poll(2). This is mostly taken from the NetBSD implementation
...
(from some time ago) but with a few tweaks along the way.
Obtained from: NetBSD
1997-09-14 02:30:32 +00:00
Peter Wemm
3a74593f48
Update interfaces for poll()
1997-09-14 02:25:41 +00:00
Peter Wemm
818661c8f6
Regenerate (added poll etc)
1997-09-14 02:23:46 +00:00
Peter Wemm
8cb0553a7c
Activate poll(2) syscall
1997-09-14 02:22:05 +00:00
Peter Wemm
c68021f907
Add sys/poll.h
1997-09-14 02:20:56 +00:00
KATO Takenori
b4bf5f5176
Synchronize with sys/i386/isa/wd.c revision 1.138.
1997-09-14 01:44:17 +00:00