joerg
e7c3d728c1
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
3c44379082
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
d71985ee3a
Explain the newer sio(4) flag values.
...
Fogotten by: phk, bde
1997-09-14 18:55:41 +00:00
wosch
bede17cf60
-p flag misdocumented in telnetd(8)
...
PR: 4462
Submitted by: hfir@math.rochester.edu
1997-09-14 18:25:19 +00:00
wosch
5c10b1ba45
Potential bufferflow in getpwent(), getpwnam() and getpwuid()
...
PR: bin/4134
Submitted by: nick@foobar.org
1997-09-14 18:16:11 +00:00
phk
37fbc2eca7
What I did in my vacation.
1997-09-14 18:05:47 +00:00
wollman
b0704ce42b
Mention the multicast ping fix and changes to finger, fetch, and netstat.
1997-09-14 17:46:42 +00:00
wollman
0b76dc4b9e
Talk a little bit about some of the networking changes in the kernel.
1997-09-14 17:35:30 +00:00
phk
bb6f420228
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
phk
b079abc11c
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
e2ce0d677e
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
wosch
060c353c20
Add some UUCP manpages.
1997-09-14 13:04:26 +00:00
jkh
90a1a3c632
DTRT with ${viddev} in the same way as the other vidcontrol entries.
...
Reminded by: bde
1997-09-14 12:16:36 +00:00
peter
1425e326d1
Bruce wants the warning.
1997-09-14 11:28:30 +00:00
peter
ef7710b201
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
7f77a9386b
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
c9a685a905
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
4d85218738
Explain a little more about the piping feature.
...
PR: 4122
1997-09-14 06:55:15 +00:00
peter
5b4e745b7a
A poll(2) manpage.
...
Obtained from: NetBSD
1997-09-14 05:44:35 +00:00
peter
fb22d35413
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
jkh
232f4d661d
XFree86 3.3.1 updates
...
Document new media flag in lieu of links.
1997-09-14 04:18:42 +00:00
peter
ab48d764a4
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
303c05fd79
Generate poll syscall stub
1997-09-14 03:29:55 +00:00
peter
796eb5ce0a
Update select -> poll in drivers.
1997-09-14 03:19:42 +00:00
peter
e762286917
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
1a4a67a50c
Update network code to use poll support.
1997-09-14 03:10:42 +00:00
peter
0550686456
Update select -> poll
1997-09-14 03:09:01 +00:00
peter
5297821349
select -> poll
...
Obtained from: NetBSD (I think)
1997-09-14 03:03:05 +00:00
peter
d0648ea067
select -> poll
...
flag missing vnode op table entries
1997-09-14 03:00:44 +00:00
peter
ce7feabb13
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
13141f4b23
Various select -> poll changes
1997-09-14 02:52:18 +00:00
peter
fe8263de9d
vn_select -> vn_poll
1997-09-14 02:51:16 +00:00
peter
2d9590ddc9
Zap nxselect and noselect.
1997-09-14 02:50:28 +00:00
peter
1ffbda9a9e
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
4a2b1a3ff1
Extend select hook to support poll
1997-09-14 02:46:44 +00:00
peter
84169dafe1
Implement the poll backend for the pipe file type.
1997-09-14 02:43:25 +00:00
peter
222aa7e6ff
Convert select handler to poll style
1997-09-14 02:42:03 +00:00
peter
fbe30e0a2c
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
28a822ce34
Change VOP_SELECT to VOP_POLL
1997-09-14 02:35:25 +00:00
peter
0fc35eb0c2
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
e44c10ddd2
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
a29a9749e5
Update interfaces for poll()
1997-09-14 02:25:41 +00:00
peter
75f4997c44
Regenerate (added poll etc)
1997-09-14 02:23:46 +00:00
peter
639925b1c4
Activate poll(2) syscall
1997-09-14 02:22:05 +00:00
peter
5cd1b913f7
Add sys/poll.h
1997-09-14 02:20:56 +00:00
kato
83559c1de3
Synchronize with sys/i386/isa/wd.c revision 1.138.
1997-09-14 01:44:17 +00:00
wosch
a4edfd01f0
Add some UUCP manpages.
1997-09-13 21:44:49 +00:00
brian
408c12b8a2
Change the not-specified-default for inetd & cron
...
to "enabled". This will avoid breaking things for
idiots like me who update /etc/rc without paying
attention and updating rc.conf too.
1997-09-13 21:07:12 +00:00
joerg
234748494c
Mention SA_NOCLDWAIT as a new feature.
1997-09-13 19:45:51 +00:00
joerg
96e44a0ac2
Document SA_NOCLDWAIT.
...
Make all the SA_* flags go into a tagged list, to improve readability.
1997-09-13 19:43:24 +00:00