Commit Graph

1184 Commits

Author SHA1 Message Date
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