wiz
d46bc94200
Niels Provos kindly agreed to drop clauses 3 and 4 from the
...
license -- thanks.
Based on OpenBSD commit and hints by itojun.
2003-12-26 19:04:55 +00:00
simonb
f9f4341a9f
Don't ever add a ".0" to a single digit number.
...
XXX: Should (for example) 1024 be 1.0K or 1K when the HN_DECIMAL flag
is passed? Should there be a separate option that says "use the
HN_DECIMAL behaviour unless we are exactly equal to the suffix"?
2003-12-26 11:30:36 +00:00
itojun
c81f32fe6c
comment from niels provos;
...
- seed2 is necessary, but use it as "seed2 + x" not "seed2 ^ x".
- skipping number is not needed, so disable it for 16bit generator (makes
the repetition period to 30000)
2003-12-10 05:22:18 +00:00
wiz
02f06f3790
Bump date for previous (hi andrew!).
2003-12-09 16:00:40 +00:00
atatat
31f1dc4a27
Update man page to correct PROC_* names (addresses PR lib/23645) and
...
also describe the new PROC_PID_STOPEXIT variable.
Man page still not updated to include new features. I'm still working
on that.
2003-12-09 01:39:03 +00:00
grant
1492b0bcb0
"int flags" is correct in the prototype, but not in the English
...
language. s/int/in/
2003-12-08 00:55:57 +00:00
keihan
39d96c1f34
netbsd.org -> NetBSD.org
...
NetBSD.ORG -> NetBSD.org
Now src/lib is done.
2003-12-04 23:39:18 +00:00
atatat
6fc962bc06
oops
2003-12-04 19:45:19 +00:00
atatat
fcc5d1a731
Adapt userland sysctl goop to new world order, permitting dynamic
...
discovery.
2003-12-04 19:40:55 +00:00
lukem
18239b5b77
Fix compile problem if -UYP -DHESIOD.
...
Noted on current-users by Srinivasa Kanduru.
2003-11-26 00:48:59 +00:00
wiz
492a994a19
Bump date for previous.
2003-11-25 23:28:31 +00:00
itojun
fd02e804dd
take "Skip a random number of ids" into consideration, correct the rotation
...
period number. simonb
2003-11-25 23:11:54 +00:00
itojun
b6a2cef9dc
"seed2" was ruining the non-repeating property of this function; remove it.
...
discussed on tech-net for ip_id.c (thanks for all the analysis).
2003-11-25 18:13:06 +00:00
wiz
6b3d472b3a
New sentence, new line. Remove trailing spaces.
2003-11-23 07:22:19 +00:00
jhawk
e54d574bd0
Bump Dd.
...
better explain the interactions between ip.mtudisc and tcp.mssdflt,
with regards to the TCP segment size.
ip.mtudisc is not read-only, as was implied by "returns"
XXX: this ("returns") should be corrected for other parameters, too.
Xr tcp(4)
2003-11-23 07:11:04 +00:00
uwe
9b7e93e2c6
s/modified/modifies/ in the description of makecontext().
2003-11-18 23:03:26 +00:00
wiz
ee1b406595
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
kleink
2ddae9dc8a
Add manual pages for fpclassify and isfinite.
2003-10-29 22:59:23 +00:00
kleink
0a97d0875b
C99 7.12.3.2: add library portions of isfinite, but don't build these just
...
yet.
2003-10-29 20:03:51 +00:00
kleink
3991bf60bc
Fix the exponent value we're comparing with.
2003-10-29 19:34:11 +00:00
kleink
6bffe7fb50
Upon rereading the implementation suggestions in the standard, rename the
...
double-precision version to __fpclassifyd(). No need to diverge, here.
2003-10-28 22:50:42 +00:00
kleink
75327729a2
C99 7.12.3.1: add IEEE library portions of fpclassify. Don't build these
...
yet as the VAX implementation is still subject to discussion.
2003-10-28 22:05:37 +00:00
skrll
f81f06350d
One ';' is enough.
2003-10-27 09:27:03 +00:00
mrg
dcce429e93
fix a typo that caused the build to fail. mmm commit before compile
2003-10-27 03:09:43 +00:00
lukem
477697b1f2
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 02:17:18 +00:00
lukem
171d653219
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
kleink
5976f8aa56
Retire local union { floating-type; struct ieee_prec; } in favor of those
...
available from <machine/ieee.h>
2003-10-27 00:05:46 +00:00
kleink
e9788d63be
Whitespace cosmetics.
2003-10-25 22:43:26 +00:00
kleink
9f3dbee22c
Add __infinityf and __infinityl, float respectively long double analogs
...
of __infinity.
2003-10-25 22:31:20 +00:00
kleink
4ca4f9f41a
Add an error check to ensure these are used on platforms without a
...
distinct long doble type only.
2003-10-24 10:30:36 +00:00
kleink
712c8de209
* Since there is no single portable IEEE 754 format for a long double,
...
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
2003-10-24 00:58:01 +00:00
kleink
6cded84c4b
Fix an RCS Id botch that occured when renaming.
2003-10-23 00:04:57 +00:00
kleink
22396ac6f7
G/c __nanf2, which is neither being used nor the representation of a NaN.
2003-10-22 23:50:47 +00:00
kleink
77e57be326
For a double-extended NaN, the exponent must be EXT_EXP_INFNAN, not
...
DBL_EXP_INFNAN.
2003-10-22 21:37:34 +00:00
wiz
58cc8234ca
Slight improvements.
2003-10-15 20:04:48 +00:00
wiz
538e6e3e1e
Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
...
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
agc
9f1aac5bb3
Move Jason Downs's code from a 4-clause to a 3-clause licence by
...
removing the advertising clause. Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.
With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
agc
ed6ed8e698
Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
bouyer
7b066791c8
Remove references to University of California from my copyright notices.
2003-10-05 17:48:49 +00:00
dsl
2f28cd113e
Simon has persuaded me to remove the 'sizeof (struct kinfo_drivers)' field.
2003-09-28 13:18:41 +00:00
dsl
fde7103b90
Add KERN_ROOT_PARTITION and KERN_DRIVERS
2003-09-27 19:09:10 +00:00
jdolecek
430f0af1db
remove pw_dup(3), for now at least
...
follows discussion on mailing lists, discussed in private e-mail with Itojun
2003-09-18 09:13:14 +00:00
simonb
49b0281b33
Shut lint up.
2003-09-16 07:56:51 +00:00
itojun
94da0d16ac
avoid overflow during multiply. David Laight
2003-09-15 23:38:20 +00:00
cl
64408794ea
make popen/pclose thread safe
2003-09-15 22:30:38 +00:00
itojun
f6da4d89f2
weak alias for pw_dup
2003-09-13 22:28:12 +00:00
itojun
220a141637
correct setup of ru_b/a for 16/20 bit case
2003-09-13 21:29:57 +00:00
itojun
1ecc9b581c
use internal names for randomid()
2003-09-13 21:27:43 +00:00
itojun
07f2a2a309
check malloc failure. yamt
2003-09-11 11:24:33 +00:00
wiz
0e9a92473d
Fix Nd; use In instead of Fd; grammar fixes.
2003-09-10 09:16:45 +00:00
tls
ef0a2c06dc
Another gcc3 problem: "exp" shadows a builtin. Rename it to "expo".
2003-09-10 07:20:13 +00:00
tls
732fa344d5
This didn't build with gcc3 because it was missing <string.h> for memset.
2003-09-10 07:12:33 +00:00
wiz
89d02ff30e
Use In instead of Fd for header files.
2003-09-10 05:51:06 +00:00
itojun
00552ebbd7
add randomid(3).
2003-09-09 22:10:33 +00:00
itojun
24a3a1d964
have pw_dup(3). from openbsd
2003-09-09 22:01:56 +00:00
wiz
47190e80b8
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
...
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
kleink
9f18c21c61
Add Xref to dirname(1).
2003-09-06 20:58:39 +00:00
kleink
d27a834c8e
Add Xref to basename(1).
2003-09-06 20:58:11 +00:00
wiz
4bfb9a4429
Add __warn_references for deprecated lastlogxname. Okayed by christos.
2003-09-06 16:42:10 +00:00
wiz
7666801285
Add man page for getlastlogx and friends.
2003-08-26 17:37:48 +00:00
wiz
31fd31ccf7
Make getlastlogx have the pathname to the lastlogx database as first
...
argument, to be consistent with updlastlogx.
Approved by christos, reviewed by kleink.
[The lastlogxname function should not be used any longer.]
2003-08-26 16:48:32 +00:00
matt
f847c1a7f3
When updating wtmpx, if the write fails make sure to close the file (to
...
release the lock held on it). Use O_SHLOCK when adding just one record
since O_APPEND will enforce the atomicity that is required.
2003-08-25 23:09:37 +00:00
kleink
45cc3e349e
Need namespace.h to generate references to internal names.
2003-08-24 15:14:18 +00:00
dsl
79b2073eea
Significantly reduce the non-monotonicity of this function.
...
The way time is apportioned to interrupt/system/user makes it impossible
to guarantee monotonicity except by saving the previous value!
2003-08-19 08:31:18 +00:00
wiz
51471a0f3b
Be more explicit about the difference between the err and errx (and
...
similar) functions. Based on wording from Jeremy C. Reed.
Closes PR 22424.
2003-08-10 10:45:33 +00:00
mrg
151375e124
avoid some lint errors in the previous
2003-08-10 08:24:52 +00:00
martin
eaa9779f55
Split into a 64 bit version (straight forward shifting and masking) and
...
a 32 bit one with two 32 bit operations with two temporaries later
combined.
This avoids the strict alias violating magic used before, thereby
probably fixing PR bin/22313.
2003-08-09 22:37:49 +00:00
agc
eb7c1594f1
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
itojun
2e48312004
be more pedantic to strlcpy/strcat errors
2003-08-03 04:35:50 +00:00
itojun
785d6ef678
use strlcat for safety
2003-08-03 04:14:00 +00:00
itojun
d6220d9ca5
fix off-by-one error in realpath()
2003-08-03 04:12:01 +00:00
salo
99410184e7
netbsd.org->NetBSD.org
2003-07-26 19:24:24 +00:00
dsl
5dbcc1e019
If VIS_CSTYLE is specified, use \ to escape any printable characters
...
(especially \ itself, and anything else in 'extra').
Fix strvis() and strvisx() to pass 0..255 to isgraph() etc.
2003-07-16 22:34:34 +00:00
kleink
4e043afc74
Fix pasto in 1.26; spotted by Thomas Klausner.
2003-07-09 15:38:20 +00:00
wiz
60c9febddd
Drop trailing spaces.
2003-07-09 14:12:31 +00:00
kleink
9789cc2d45
Mention related kernel options where applicable.
2003-07-09 13:35:08 +00:00
wiz
1fabdcd1fb
Drop whitespace.
2003-07-04 08:20:31 +00:00
wiz
b93a29cdaa
Fixes to make these man page look nice with groff-1.19.
2003-06-30 19:12:31 +00:00
wiz
b50ca43043
Pa Aq -> Aq Pa; Sy Pa -> Sy.
2003-06-27 17:59:33 +00:00
wiz
2b8b2a8b6f
Quote question mark and brace.
2003-06-27 14:24:16 +00:00
wiz
2e906114a3
Remove superfluous "".
2003-06-27 14:23:24 +00:00
wiz
2a0c101d51
Remove superfluous semicolon.
2003-06-27 13:23:11 +00:00
christos
d695477b73
PR/21963: MAEKAWA Masahide: Don't free(dirp) before its last use.
2003-06-23 14:35:38 +00:00
simonb
dbf00ebd13
Use the date I committed this, not the date I originally came up with
...
the changes.
2003-05-30 02:22:23 +00:00
simonb
20a5af5edd
Allow either parameter to the getbsize(3) function to be a NULL, in
...
which case it is ignored.
2003-05-30 00:12:09 +00:00
nathanw
4ee0df68f2
Allocate and initialize dirp->dd_lock before calling telldir(), which
...
will try to lock it.
Addresses PR lib/21712.
2003-05-29 18:29:59 +00:00
kleink
45586dc2f9
Need <string.h> for memcpy().
2003-05-28 21:08:23 +00:00
kleink
9a398ec067
Add restrict qualifiers to previous.
2003-05-28 20:28:37 +00:00
christos
9af7135771
add mutex locking for directories and readdir_r(3). Influenced by FreeBSD.
2003-05-28 20:03:37 +00:00
christos
c8042cb209
no need to declare __isthreaded.
2003-05-28 19:57:22 +00:00
kleink
9d85c4a5f8
Add ETIME, per POSIX-2001.
2003-05-27 22:37:33 +00:00
thorpej
f9345ff71e
Add _isinfl() and _isnanl() routines, currently for internal use only.
2003-05-17 14:51:24 +00:00
nathanw
59520b66cd
Fix a comment delimeter
2003-05-12 20:10:22 +00:00
kleink
db907cb577
Rename ieee754_function.c to function_ieee754.c, following the convention
...
used in exec_format.c, loadfile_format.c, subsys_machdep.c etc.
Per discussion with Christos.
2003-05-12 15:15:11 +00:00
christos
2f0d746849
make this compile again.
2003-05-11 20:56:51 +00:00
ragge
f28d8c841a
Teach nlist to retrieve symbols from /dev/ksyms (using the quick-search
...
ioctl's).
2003-05-11 12:47:42 +00:00
wiz
fade7b55f5
New sentence, new line.
2003-05-06 08:28:38 +00:00
wiz
737de9f803
Misc. fixes from jmc@openbsd.
2003-05-03 19:43:00 +00:00
gmcgarry
1f3b9df049
Clarify output. From PR#14290.
2003-05-02 08:26:46 +00:00
wiz
38107bb637
Grammar and mdoc fixes from jmc@openbsd.
2003-05-01 13:58:03 +00:00
christos
e8c0c9df50
PR/6156: Stefan Grefen: nlist returns bogus value if symbol is multiply
...
defined in object
2003-04-20 21:08:11 +00:00
christos
622e897fdb
PR/5265: John Buller: ttyflags does not report syntax errors or unknown
...
tty options in /etc/ttys
Make this use fparseln and use warn and warnx to report problems.
2003-04-20 03:03:18 +00:00
christos
a5b5f849f2
add ident.
2003-04-19 21:56:49 +00:00
wiz
472351e13d
Use
...
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
5af328316a
Bump date for last.
2003-04-14 12:06:26 +00:00
simonb
4604766a89
Remove CAVEATS section and note that isascii() works on all integer
...
values.
From PR standards/21179 from Christian Biere. Verified against SUSv3 too.
2003-04-14 12:04:18 +00:00
dogcow
dc650bfb56
Document ip.checkinterface
2003-04-12 07:41:12 +00:00
salo
f939ebddeb
Document HW_CNMAGIC, fix HW_PHYSMEM64 and HW_USERMEM64 format in the table,
...
describe HW_MACHINE_ARCH and HW_ALIGNBYTES in the same order as listed in the
table.
2003-04-11 08:44:16 +00:00
kleink
27d8588746
Change the strerror() string for ERANGE consistently to "Result too
...
large or too small" and reword its intro(2) description to reflect
the present use for non-numerical out-of-range errors; resolves
Andrew Brown's PR standards/21004, the discussion of which was
dramatically sped up by repeated whipping from Perry Metzger. :-)
2003-04-09 21:36:28 +00:00
nathanw
cffc057ae2
Oops, make the atfork queues static so they don't pollute the
...
namespace.
2003-04-07 21:09:57 +00:00
fvdl
42614ed3f3
Add support for UFS2. UFS2 is an enhanced FFS, adding support for
...
64 bit block pointers, extended attribute storage, and a few
other things.
This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
wiz
a798d4ff8e
Consistent tab usage.
2003-03-17 07:45:04 +00:00
christos
75fdb547df
PR/13242: John Heasley: ENOTDIR is not fatal
2003-03-15 04:41:17 +00:00
thorpej
65d8e7315e
HW_PHYSPAGES -> HW_PHYSMEM64, HW_USERPAGES -> HW_USERMEM64.
2003-03-06 20:39:08 +00:00
nathanw
f60f35f3ab
Don't acquire __environ_lock around exec*() calls; nothing requires
...
that these calls be thread-safe with respect to the environment, and it
causes serious problems for threaded applications which call vfork() and
exec*() (including indirectly, via popen() or system()).
Acquire and release __environ_lock in the parent in popen() and system() to
play safe and provide the child with a stable environment.
__environ_lock should also have an atfork() handler; still under development.
2003-03-04 19:44:09 +00:00
wiz
2b942861aa
Drop trailing space, mark up NULL with .Dv, break
...
lines and add section to an xref.
2003-03-03 06:45:18 +00:00
enami
eafd20b336
Fix realloc usage.
2003-03-02 14:17:07 +00:00
enami
70f9e35f63
s/indentifier/identifier/
2003-03-02 14:10:49 +00:00
jmmv
5d93e695b8
Grammar fix in return values section.
2003-03-02 14:08:24 +00:00
enami
1b1f503d7a
Cosmetic changes in sample code.
2003-03-02 14:02:35 +00:00
thorpej
3cdf0a27ee
Document net.inet.tcp.init_win_local.
2003-03-01 04:43:42 +00:00
thorpej
b4271997ce
Document hw.physpages and hw.userpages.
2003-02-27 01:42:10 +00:00
christos
ea5d0d4403
keep track if we have the file opened as readonly or readwrite, so that
...
we don't need to call update_utmp, if our euid has changed, but we still
have a write reference to the file. Solves problem with chrooting processes.
2003-02-26 19:23:25 +00:00
simonb
118763056a
Fix a tyop in a comment.
2003-02-17 00:11:54 +00:00
elric
16c5a7dd8d
Reorganise the getting of grouplists for a user so that Hesiod (and
...
potentially other name services) can directly query for a user's
grouplist rather than needing to iterate over the group map. This
is required for correct operation of Hesiod.
Reviewed by: lukem, christos
Addresses PR lib/20183
2003-02-16 01:22:44 +00:00
nathanw
817925442c
Add pthread_atfork() man page.
2003-02-13 03:00:51 +00:00
nathanw
4fb740b8de
Implement pthread_atfork() (in libc, because the required threadlib
...
stub behavior is exactly the same as the usual behavior).
2003-02-13 02:50:48 +00:00
wiz
5693d445c1
Drop trailing whitespace.
2003-02-10 15:31:08 +00:00
elric
1b4eceb53f
When looking up gids with hesiod, use the gid map and fall back to the
...
group map.
Addresses PR lib/20145
2003-02-03 04:22:20 +00:00
kleink
71d7654509
Add sysconf(3) knobs for recent additions.
2003-02-02 20:33:05 +00:00
uwe
4eb408dcd9
Avoid cgetcap &co prototypes conflicting with those provided by the host.
...
With this change we can cross-compile on FreeBSD 4.x.
2003-01-31 20:50:29 +00:00
wiz
9b5abffe9d
Add makecontext(3) from Klaus Klein.
2003-01-21 12:39:08 +00:00
dsl
fa36c8783f
Ignore groups beyond _SC_NGROUPS_MAX (as man page)
...
Ensure kernel doesn't pick up random numbers (would happen if _SC_NGROUPS_MAX
> NGROUPS)
(change agreed by christos)
2003-01-19 18:26:16 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +00:00
kleink
f18fe39c3f
Pasto; from Thomas Klausner.
2003-01-16 00:46:58 +00:00
wiz
ec87827023
typo fixes.
2003-01-16 00:33:12 +00:00
kleink
140dae96a7
Rename auto variable shading global sigset().
2003-01-15 23:58:03 +00:00
kleink
30a90a73b4
Add sighold(3), sigignore(3), sigrelse(3) and sigset(3) to libc.
...
Fixes PR lib/19212, now redesignated standards/19212, from David Laight.
2003-01-15 23:55:41 +00:00
mjl
71b7c0b242
Fix typos (from PR 19650)
2003-01-03 21:41:28 +00:00
jschauma
432d470724
Fix typos pointed out by Igor Sobrado in PR misc/19621.
2003-01-02 00:22:29 +00:00
kleink
ac7290d7c2
Add a sysconf(3) knob for {ATEXIT_MAX}.
2002-12-19 23:31:54 +00:00
wiz
09f7a7aee7
new sentence, new line.
2002-12-18 20:17:43 +00:00
wiz
90ad988049
exec lives in section 3, not 2.
2002-12-18 20:13:06 +00:00
jdolecek
5fd22809a5
Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
...
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.
2002-12-11 19:14:34 +00:00
scw
39a5a9dc76
Add two sysctls: kern.labelsector and kern.labeloffset.
...
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.
With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.
2002-12-11 12:59:29 +00:00
grant
5872a250a6
fix typo in comment.
2002-12-04 13:08:35 +00:00
christos
39f2f97867
lib/19176: Onno van der Linden: execl is called with too few arguments.
2002-11-26 16:52:07 +00:00
fvdl
370e22c9fd
Enable ELF32 nlist (as well as ELF64) for x86-64.
2002-11-23 19:28:45 +00:00
itojun
233424cdc2
make sure to bound string operation by strlcpy
...
(there are bunch of "strcpy is safe" comments, i think we should change them
to strlcpy as much as possible)
2002-11-17 20:49:33 +00:00
itojun
9134efabd0
use strlcpy where it is more appropriate.
2002-11-17 01:51:24 +00:00
kleink
792483ae22
Review oversight: ENOSR: resource -> resources, which is what the
...
standard says, and which fits the resource allocation failure better.
2002-11-12 10:28:27 +00:00
skrll
b207990164
Add the missing errno symbols that are defined in IEEE Std 1003.1-2001.
...
The language message files need updating.
Change reviewed and OK'd by Klaus Klein.
2002-11-12 08:20:02 +00:00
thorpej
4747ad6ea7
Fix signed/unsigned comparison warnings.
2002-11-11 19:25:38 +00:00
thorpej
1289029f10
Fix signed/unsigned comparison warnings.
2002-11-11 17:56:11 +00:00
thorpej
045cceecae
Fix signed/unsigned comparison warnings.
2002-11-11 17:13:59 +00:00
thorpej
fd128e9fb6
Fix signed/unsigned comparison warnings.
2002-11-11 16:50:34 +00:00
thorpej
37dfab8a5b
Fix signed/unsigned comparison warnings.
2002-11-11 06:24:08 +00:00
thorpej
20b98814a9
Fix signed/unsigned comparison warnings.
2002-11-11 01:12:04 +00:00
enami
b7ac697dae
s/than than/than/.
2002-11-08 02:05:16 +00:00
wiz
8074ecd2c3
New sentence, new line (hi manu!). Drop trailing whitespace.
2002-11-07 12:11:00 +00:00
manu
9a4dfe85fa
Added two sysctl-able flags: proc.curproc.stopfork and proc.curproc.stopexec
...
that can be used to block a process after fork(2) or exec(2) calls. The
new process is created in the SSTOP state and is never scheduled for running.
This feature is designed so that it is esay to attach the process using gdb
before it has done anything.
It works also with sproc, kthread_create, clone...
2002-11-07 00:22:28 +00:00
wiz
68ab92d7a4
Add some _DIAGASSERTS(). Ok'd by christos.
2002-10-25 20:42:02 +00:00
provos
6875b78ca7
readlink(2) does not NUL-terminate, use with sizeof (buf-1).
...
from deraadt@openbsd.org ; approved thorpej.
2002-10-19 18:58:32 +00:00
tron
12b88f0269
Fix lint error.
2002-10-17 11:36:39 +00:00
wiz
7b3758d0d4
Use .Dq and .Sq. Fix some typos.
2002-10-17 08:41:48 +00:00
wiz
26f2e93a91
Use .Dq and .Sq.
2002-10-17 08:41:38 +00:00
thorpej
c10a556f9b
Change basename(3) and dirname(3) to return a pointer to static
...
storage, rather than modifying their input arguments. While not
reentrant, this is explcitly allowed by IEEE Std 1003.1-2001 (which
allows either behavior, stating that it is implementation-dependent).
The new semantics are considered less hostile/more useful by most programs
which use basename(3) and/or dirname(3) (several programs in the NetBSD
tree reimplement basename()/dirname() themselves to avoid modification
of the input argument).
This new implementation truncates results to PATH_MAX. The Std does
not address this in the static storage case. However since PATH_MAX
is the maximum pathname length in the Std, this should not be a problem
in practice. Nontheless, it is noted in the BUGS section.
See the basename(3)/dirname(3) regression tests in src/regress/lib/libc.
Inspired by discussion with Niels Provos, related to PR 18647.
2002-10-17 02:06:04 +00:00
wiz
24d7aadd13
Mdoc nits, and bump date for FNM_LEADING_DIR addition.
2002-10-07 00:03:14 +00:00
provos
b899aa2abc
implement FNM_LEADING_DIR; matches Linux and other *BSDs; approved thorpej
2002-10-06 03:15:45 +00:00
wiz
4141062f44
process only has one c.
2002-10-02 10:44:27 +00:00
wiz
081a23ac04
Remove mdoc macro from weird place.
2002-10-01 19:47:40 +00:00
wiz
ead46331d9
\-1 and .Dv NULL.
2002-10-01 16:59:46 +00:00
wiz
b214676aec
New sentence, new line. From Robert Elz.
2002-10-01 16:48:34 +00:00
wiz
ef7dc6cc33
New sentence, new line; -1 -> \-1; simplify mdoc in one place.
2002-10-01 16:07:01 +00:00
christos
fb0b215b6c
fix typo
2002-09-28 01:43:24 +00:00
christos
c73d854002
check for write and close errors, from wiz
2002-09-28 01:34:36 +00:00
drochner
20d06f6b17
SI prefixes apply to decimal multiplies only. For binary (2^n) multiplies
...
the most "officially looking" is IEC 60027-2, ie "Ki", "Mi", ...,
which is not too popular, and which would require more code changes.
So stick with the traditional capital "K" for (divisor==1024), and use
the SI "k" otherwise (ie (divisor==1000)).
2002-09-27 18:37:43 +00:00
wiz
4a47c952db
Add documentation for utmpx and some related functions.
...
Thanks for some explanations to christos, and for some STANDARDS hints
to Klaus Klein.
2002-09-27 15:02:24 +00:00
wiz
8e14b98adf
Move comment that says 'the following are extensions' to the right place.
...
Approved by christos.
2002-09-26 17:08:42 +00:00
wiz
079c182094
Kilo abbreviation is a small k (PR 18408).
2002-09-26 15:06:47 +00:00
briggs
a94d82e6f9
Always use NetBSD's fts(3) in compat builds. Some systems (notably
...
Red Hat 7.3, at least) do not have fts(3) implementations that work
correctly with -D_FILE_OFFSET_BITS=64.
2002-09-16 04:10:36 +00:00
wiz
aae8095f40
completion, not completition; mark up errno; use \- instead of -.
2002-09-04 01:03:58 +00:00
wiz
c4beccd3bf
completion, not completition; use \- instead of -.
2002-09-04 01:03:24 +00:00
abs
a086fb2909
Move humanize_number(3) from libutil to libc as per discussion on tech-misc
...
Revert minor number bump on libutil (with note to skip it next update), and
bump libc.
2002-08-22 17:24:08 +00:00
wiz
158398c921
Fix Ns abuse.
2002-08-20 15:32:12 +00:00
wiz
75c7529338
Update Dd for recent changes.
2002-08-10 09:17:49 +00:00
wiz
6fb8244813
Fix formatting glitch, end sentence with a dot, and use Nm instead of
...
a self-Xr. Update Dd for recent changes.
2002-08-10 09:14:59 +00:00
wiz
1598a31de5
Update Dd for recent changes.
2002-08-10 09:13:47 +00:00
yamt
3bb8b93140
more about sigsetjmp/siglongjmp.
...
from openbsd.
2002-08-10 05:05:24 +00:00
yamt
de3baf756c
note about "too many groups" case.
...
from openbsd.
2002-08-10 04:50:39 +00:00
yamt
9ec2d4f3ab
default path doesn't contain current directory anymore.
...
from openbsd.
2002-08-10 03:08:15 +00:00
yamt
a5c077a75d
reflect change of default path.
...
from openbsd.
2002-08-10 03:06:15 +00:00
yamt
cd9128e6e2
- move a example into EXAMPLES section.
...
- check a return value of opendir.
from openbsd.
2002-08-10 02:55:20 +00:00
tron
2f9d1834f5
Include "sys/param.h" and use "MATHPATHLEN" instead of "_POSIX_PATH_MAX"
...
to fix build problem.
2002-08-04 11:55:51 +00:00
nathanw
b18986f532
#include <string.h> for prototypes of strlen and strcpy.
2002-08-01 23:46:37 +00:00
christos
f04f8bc949
add utmpname()
2002-07-28 21:45:39 +00:00
christos
f084e3ca9b
make this behave like utmp, ie. return all entries and setutent() rewinds.
2002-07-28 20:46:43 +00:00
christos
a2e4cf52ec
use the fname we passed in.
2002-07-28 00:45:11 +00:00
christos
7908c76c97
Add utmp processing functions
2002-07-27 23:57:39 +00:00
christos
fef92308ac
add lastlogx implementation.
2002-07-27 19:38:29 +00:00