Commit Graph

371 Commits

Author SHA1 Message Date
pk
5e25a3816d Eliminate race by stopping timer before restarting it with remaining time
(one more system call).
1995-10-26 22:07:00 +00:00
pk
0a3f02bda0 Eliminate race in the "normal" case of not being interrupted by another signal. 1995-10-20 17:32:06 +00:00
pk
d2c2babb9f 1) Turn off timer before resetting signal disposition.
2) Set signal mask before signal action, to avoid held SIGALRMs
   bursting in after unsetting the handler.
1995-10-16 18:58:47 +00:00
jtc
0e3da40dbe Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  Also fixes decription
of _SC_CLK_TCK in sysconf(3).  See PR #1587 and PR #1589 for details.
1995-10-12 15:39:23 +00:00
thorpej
07db43dc14 Document new RFC1323 sysctl variable. 1995-09-30 07:03:54 +00:00
cgd
c178576bae add hack-ish support for ecoff nlists (used only on the Alpha).
It's hack-ish, but it appears to work well enough for all/most
programs that use libkvm, e.g. ps, w, netstat, dmesg, etc.
1995-09-29 04:19:59 +00:00
mycroft
23de03812d Clean up a little, and fix a fencepost error. 1995-08-31 16:28:01 +00:00
jtc
aa8fc243af Don't overflow fixed sized buffers. Parts of this patch come from
Perry Metzger, Charles Hannum and Paul Kranenburg.
1995-08-30 21:20:36 +00:00
mycroft
ce6374e6be Do not terminate the search on errors other than ENOENT. 1995-08-24 05:26:35 +00:00
jtc
cb188d3b35 fix typo 1995-08-12 05:02:46 +00:00
jtc
a6751cc939 Updated for LOG_FTP (PR #1312).
Edited the examples section so that they are all separated by a single
blank line, since they're unrelated.  SunOS' syslog(3) has a sentance
or two describing each line.  We'll either have to come up with our
own text or ignore it.  I'm ignoring it for now.
1995-08-11 00:34:34 +00:00
thorpej
0f77910137 Add and document a `kern.rawpartition' sysctl. 1995-08-04 18:36:08 +00:00
jtc
29308d7d0d stdio.h -> unistd.h 1995-07-30 06:05:35 +00:00
phil
e69d413643 Improvements to YP support from Jason Downs. 1995-07-28 05:43:01 +00:00
jtc
3b6cda53f9 add setlocale(3) and strsignal(3) cross references 1995-07-03 22:48:08 +00:00
cgd
3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
jtc
9c87841ac4 Change return type of {get,set}{domain,host}name() from long to int. 1995-06-16 07:36:03 +00:00
jtc
edbbf562ba <sys/termios.h> -> <termios.h> 1995-06-16 07:20:35 +00:00
jtc
bd3ac90048 getsubopt() uses strcmp(), so include <string.h> 1995-06-16 07:15:18 +00:00
jtc
ed7060c4a6 Use standard conditional for rcsid definition. 1995-06-16 07:12:41 +00:00
jtc
915b76dd9f Don't cast void functions to void. 1995-06-16 07:05:27 +00:00
jtc
a646349d2b Open with O_NONBLOCK, in case someone tries to open a blocking device
or a non-open fifo instead of a directory.
1995-06-12 19:38:02 +00:00
cgd
85ab28f7aa eliminate the need for some (fatal) casts. 1995-06-07 13:14:09 +00:00
mycroft
ac1e0f5127 Don't set the rgid or egid. Document this behavior. This is compatible with
SunOS and SysV.
1995-06-03 02:27:17 +00:00
mycroft
19755ba159 We must do setgid() explicitly now. 1995-06-02 21:25:09 +00:00
jtc
4cb508307a Don't duplicate the primary group. The first member of the groups list
no longer serves as effective group id.
1995-06-01 22:51:17 +00:00
mycroft
be21323869 Modify getpwent() to use __ypparse(). 1995-05-17 17:36:43 +00:00
mycroft
5eb65c6b09 Use the new ps_strings format. 1995-05-16 14:23:06 +00:00
jtc
3ba2c075cf #include appropriate header files to bring prototypes into scope 1995-05-13 06:58:18 +00:00
jtc
9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
mycroft
aff3578b36 Explicitly unblock SIGALRM while waiting. 1995-05-03 12:52:43 +00:00
mycroft
66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +00:00
jtc
02788519a9 termios code has been moved to new libc/termios directory. 1995-04-25 00:06:17 +00:00
ragge
db0c9cd300 Removed VAX specific definitions. 1995-04-17 12:28:29 +00:00
cgd
76a6b7c3b3 fix operator precedence error (pr 951 from Ted Lemon) 1995-04-11 02:57:52 +00:00
jtc
f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
7870f9f542 removed unnecessary #include <stddef.h> 1995-03-23 19:51:13 +00:00
mycroft
62648a14f0 Clone from sleep(), with the logic for returning a value removed. 1995-03-21 13:50:32 +00:00
mycroft
d53dfd3d3c Minor changes. 1995-03-21 13:44:40 +00:00
mycroft
f75ba16b09 Update to use timer{add,sub}(). 1995-03-21 13:33:34 +00:00
pk
a63744d63c Speed up getgrnam() and getgrpid() by using yp_match(). 1995-03-16 11:48:01 +00:00
jtc
016bb710d9 ctime.3 and tzset.3 manpages have been moved to libc/time. 1995-03-10 06:29:15 +00:00
jtc
20d50456cc Removed references to ctime.3 and tzset.3 manpages and associated manpage
links (they have been moved to libc/time).
1995-03-10 06:15:10 +00:00
jtc
57274dc48e date and time functions have been moved 1995-03-09 23:31:07 +00:00
cgd
ee38224d2e fix up some RCS Id's i botched. 1995-03-04 01:55:49 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
jtc
88ba3f858c Changed <sys/signal.h> to <signal.h> 1995-02-28 01:13:50 +00:00
cgd
1e1bba23c7 make lint/SCCS Id if more standard. 1995-02-27 15:47:03 +00:00
cgd
c18290a117 delete wordexp reference 1995-02-27 06:25:38 +00:00
cgd
fecf194677 oops; we do need errno.h 1995-02-27 06:21:23 +00:00