wollman
eb63a8058f
Merge from vendor branch: timezone file structure changes and doco.
...
Fix localtime.c to deal with new magic number field.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
1999-01-21 17:22:59 +00:00
jdp
6f731db02e
Install man page link for strtok_r.
1999-01-19 23:45:48 +00:00
jdp
9c8e22687e
Spell check and minor grammar fix.
1999-01-19 23:42:44 +00:00
truckman
9c8e89401a
Document the errno return if the restrictions on the fcntl(F_SETOWN, ...)
...
argument implemented by the security patch in PR kern/7899 are violated.
PR: kern/7899
1999-01-19 09:33:14 +00:00
jkoshy
dc51a8b465
revoke(2) is supported on regular files under current. Change wording
...
in manual page that indicated otherwise.
PR: docs/9517
Submitted by: David Malone <dwmalone@maths.tcd.ie>
1999-01-18 02:37:03 +00:00
des
9dabb14045
Use the correct type for uid and gid in struct passwd. Document it.
1999-01-18 02:14:20 +00:00
des
76b479177d
Make the implementation and documentation agree. Specifically:
...
- document that sysctl() and sysctlbyname() return 0 on success
- if the provided buffer is too small, set errno to ENOMEM and return -1
instead of returning ENOMEM.
1999-01-06 18:11:53 +00:00
dt
c09e434e50
Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.
1999-01-04 20:45:20 +00:00
wollman
b98a934336
Add STANDARDS section.
...
s/bytes/characters/g to be consistent with Standard C terminology.
Update date and add RCS Id.
1999-01-03 01:07:41 +00:00
wollman
205566608c
Fix grammar in the description of timegm() by totally rewriting it. Remove
...
a potentally inflammatory comment from BUGS, and add a more useful comment
about the lack of reentrancy in the timezone-setting interface.
1999-01-03 00:35:31 +00:00
bde
b25ed083ef
Ignore the fs_spec entry for "/" in /etc/fstab if the device which
...
is actually mounted on "/" can be determined using statfs() and is
in /dev. This fixes fsck operating on the wrong device when the
fs_spec entry is only an alias. The aliased case became more
dangerous when the ROOTSLICE_HUNT hack was committed in mount(8).
ROOTSLICE_HUNT may be unnecessary now.
1999-01-01 14:14:44 +00:00
bde
2eadc003f4
Updated type of ss_size in struct sigaltstack.
...
Removed bogus prerequisite <sys/types.h>.
1999-01-01 12:22:11 +00:00
dfr
164a41ac4c
[This is a null commit to supply the correct log entry]
...
Rename 'cerror' to '.cerror' so that programs which have a function or
global variable named 'cerror' don't completely break the syscall error
reporting mechanism.
1998-12-23 11:55:42 +00:00
dfr
0d57a81a8b
Implement fpsetmask() and other fp*() functions. Programs should use
...
#include <ieeefp.h>
to access these functions instead of the i386 specific
#include <machine/floatingpoint.h>
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1998-12-23 11:50:52 +00:00
wes
08ad2ecd3d
Added documenation for the existing implementation of asctime_r,
...
ctime_r, gmtime_r, and localtime_r.
1998-12-20 06:22:06 +00:00
julian
61490236bc
Reviewed by: Luoqi Chen, Jordan Hubbard
...
Submitted by: "Richard Seaman, Jr." <lists@tar.com>
Obtained from: linux :-)
Code to allow Linux Threads to run under FreeBSD.
By default not enabled
This code is dependent on the conditional
COMPAT_LINUX_THREADS (suggested by Garret)
This is not yet a 'real' option but will be within some number of hours.
1998-12-19 02:55:34 +00:00
eivind
7cdf796bab
Note that dying on NULL is an implementation detail.
1998-12-17 17:13:47 +00:00
eivind
aec28cd70a
Restore old semantics (broken in rev 1.47's buffer overflow fix).
1998-12-17 16:31:02 +00:00
bde
c3648dbd00
Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This is
...
an unimprovement here. I thought it would be an improvement, as in libkvm,
but here we can access the strings directly.
Use sysctlbyname() instead of sysctl() and trust it to give a nonzero
address if it succeeds.
1998-12-16 17:34:05 +00:00
imp
5315be15ac
Add reminder to return memory allocated by this call.
...
Obtained from: OpenBSD
1998-12-16 04:39:23 +00:00
wes
0f62a568db
Reviewed by: JKH
...
Submitted by: Wes Peters
Added strtok_r (reentrant) function and man page.
1998-12-14 05:11:26 +00:00
steve
032c3c226a
Commit out caveat about hardlinks to directories since they are
...
no longer possible.
PR: 8337
1998-12-13 23:35:01 +00:00
dillon
7c1aa7bf55
PR: docs/9050
...
Add reference to required include file #include <stdlib.h> for
getloadavg(3) function call.
1998-12-13 02:34:56 +00:00
jb
fd263f3ca2
CALL -> PCALL for sigaltstack for libc_r.
1998-12-10 20:36:24 +00:00
bde
52149e1f7c
Removed unused include of <kvm.h>. It was alarming for libc to apparently
...
depend on libkvm.
Removed obsolete `#define _NEW_VFSCONF'.
1998-12-07 11:26:28 +00:00
nate
7824892cc8
- Fix modulo bug that was masked by the correct code in libgcc.a which is
...
used in almost all programs unless a shared library specifically
ignores libgcc.a.
1998-11-30 20:25:37 +00:00
jkoshy
8cf538c543
Enable aio_read(2).
1998-11-24 08:15:08 +00:00
jkoshy
b8628da9ab
Don't mention exit(3) in explanation; _exit(2) is a better choice.
1998-11-23 03:23:14 +00:00
jkoshy
bd073938e9
Man page for aio_read(2).
...
Submitted by: Terry Lambert <terry@whistle.com> on the -doc lists.
1998-11-19 04:07:55 +00:00
nectar
67ec57bb0a
Update to reflect reality.
...
PR: kern/8629
1998-11-16 03:49:39 +00:00
jkoshy
7273a66285
Fix a .Nm -> .Fn fix that was missed in the previous commit.
...
Pointed-out-by: Bruce Evans
1998-11-09 06:52:46 +00:00
dg
d76c9ae77d
Added info about non-blocking support.
1998-11-06 19:35:58 +00:00
jkoshy
27b8931a46
Update manual page to reflect changes in rev 1.12 of
...
"src/lib/libc/gen/popen.c" --- popen() in the child
now closes any copies of popen()'ed descriptors in the parent.
1998-11-06 07:09:22 +00:00
dg
5f9efae0f8
Added a manual page for sendfile(2).
1998-11-05 14:43:29 +00:00
rnordier
6037124de3
Include mergesort() in description of errors.
1998-11-04 09:27:03 +00:00
rnordier
05e7da8d39
Drop unused labels.
1998-11-04 09:22:07 +00:00
rnordier
6ffb967233
Handle a zero elements argument.
...
PR: 8566
Submitted by: Archie Cobbs <archie@whistle.com>
1998-11-04 08:55:34 +00:00
peter
c3fb5f8be1
A feeble attempt at kld compatability. The mount_* programs assume that
...
they cannot mount a filesystem that they cannot see in getvfsbyname().
Part 1 of this is a hack, make vfsisloadable() always return true - the
ultimate decider of whether it's loadable or not is kldload() or mount().
Part 2 of this is to have vfsload() call kldload(2) and return success if
it works. This means that we will use a viable kld module in preference
to an LKM!
Ultimately, the thing to do is remove the hacks to do a vfsload in all the
mount_* commands and let the kernel do it by itself in mount(2).
1998-11-03 15:02:29 +00:00
jmz
02030ba04b
Typo.
1998-10-30 23:50:48 +00:00
msmith
36c3e6804b
Prevent buffer overflow in getpwnam()
...
PR: bin/8176
Submitted by: Archie Cobbs <archie@whistle.com>
1998-10-29 23:16:24 +00:00
rnordier
4046cc96fe
Clarify processing of the string argument by psignal().
1998-10-29 22:17:46 +00:00
rnordier
6e547702d7
(Whoops: make it better instead of worse this time). Clarify
...
processing of the string argument by perror().
1998-10-29 22:08:59 +00:00
rnordier
d023e194f9
Clarify processing of the string argument by perror().
1998-10-29 21:59:38 +00:00
rnordier
0f216504b5
Check for a zero-length as well as a NULL string argument.
1998-10-29 14:40:20 +00:00
rnordier
042df0ac22
The man page implies that the string argument to psignal() may be
...
NULL, in line with perror(3). However, the code presently checks only
for a zero-length string. Check for both.
1998-10-29 11:39:39 +00:00
jdp
d68c1863e9
Handle ELF symbols better. This fixes "vmstat -i" for the case
...
where "/var/db/kvm_kernel.db" doesn't exist.
1998-10-28 06:37:49 +00:00
fenner
edf1f9d541
('): and (
'); -> (:') and (
;')
1998-10-26 19:36:38 +00:00
obrien
d34edc7ba7
Slight style police.
...
Add some content from objformat(1).
1998-10-25 13:29:57 +00:00
ache
2417749d83
fix unsigned overflow
...
PR: 8437
1998-10-25 05:06:42 +00:00
dima
98c5904a24
Fix types.
1998-10-21 09:48:35 +00:00