rmind
2cecf9bbe9
Implementation of POSIX message queues.
...
Reviewed by: <ad>, <tech-kern>
2007-09-07 18:56:02 +00:00
wiz
e3d3393d01
Add xref to shquote(3), suggested by joerg. Bump date.
2007-08-02 23:45:10 +00:00
yamt
8a52d96235
add a comment.
2007-07-20 12:41:07 +00:00
christos
fede0a77fc
kill MFSNAMELEN
2007-07-17 20:03:10 +00:00
ginsbach
2f41073256
Follow the example of other nbtool compat functions, like dirname, and
...
don't create if it is determined that the system in question doesn't need
them. This cleans up build warnings on systems with err.h (HAVE_ERR_H)
for example Mac OS X 10.3.
2007-06-18 14:13:54 +00:00
christos
7a5ce90a9f
PR/36464: scandir(3) corrupts heap when run on ZFS directories because ZFS
...
returns the number of entries as the directory size.
Use a new, more conservative entries estimator.
2007-06-09 23:57:25 +00:00
christos
1418345039
Make these work with _FORTIFY_SOURCE, by overriding the fortified definitions
2007-06-03 17:39:26 +00:00
christos
36a3340867
PR/36299: Greg Woods: Add namespace protection for sl_delete.
2007-05-09 17:10:29 +00:00
rmind
0994dd0691
- Create sysctl nodes for AIO.
...
- Add POSIX defined system variables and constants of AIO_LISTIO_MAX and
AIO_MAX values. Both with _POSIX_ASYNCHRONOUS_IO, provide them in
sysconf(3) and getconf(1) interfaces.
- Clean up sysconf(3) for handling sysctl nodes dynamically.
2007-05-01 01:01:25 +00:00
enami
fab1fda977
Fix a bug that humanize_number() produces "1000" where it should be "1.0G"
...
or "1.0M". The bug reported by Greg Troxel.
2007-03-13 02:52:10 +00:00
drochner
7161d089aa
-get cabs() and cabsf() out of public view - these are historical and
...
conflict with C99 functions which are builtins in newer gcc
(actually, the old cabs() is ABI compatible with the new _complex one
on i386, but this is purely accidental)
remove public prototypes and manpages, move the code into a compat
subdirectory as libc does so that binary compatibility is kept
-add a manpage for the isgreater() etc macros, borrowed from FreeBSD
2007-02-22 22:08:17 +00:00
oster
5422c82afe
Add "local" versions of getnetgrent() et al. and now call those for the NIS
...
versions. Fix conditional compilation issues with YP and NSS_FILES.
2007-02-07 19:12:44 +00:00
oster
0271ab9db4
nsdispatch()-ify getnetgrent() and friends.
...
Approved by: christos
2007-02-06 15:17:54 +00:00
christos
3ab861054c
make this compile with DIAGNOSTIC
2007-02-03 16:22:48 +00:00
christos
0e61db23eb
Compile with DIAGNOSTIC
2007-02-03 16:17:15 +00:00
christos
b513fb7c0a
make this compile with DIAGNOSTIC
2007-02-03 16:12:47 +00:00
wiz
9e27ce3c1f
Sort sections.
2007-01-20 13:11:36 +00:00
cbiere
75289275f1
isascii() and toascii() are defined for all integers unlike the other
...
functions. Explicitely mention "undefined behavior".
2007-01-18 11:33:13 +00:00
rillig
4d81a78185
Added a reference to ctype.3. What's the value of having that page at
...
all if it isn't referenced by others?
Suggested by Slava Semushin via private mail.
2007-01-18 08:35:07 +00:00
rillig
8b4906df56
Added a warning about a wrong usage, which is nevertheless often found
...
in real code, and an example code that does it correctly.
2007-01-18 08:33:34 +00:00
hubertf
55ac93d329
Remove more duplicate #includes, and a few spurious whitespaces at EOL
...
From Slava Semushin <slava.semushin@gmail.com>
2007-01-17 23:24:22 +00:00
cbiere
f13e324ee5
Bail out on the first sysctl() error as suggested by Pierre Pronchery in
...
PR lib/35403. christos agreed it's cleaner.
2007-01-15 22:26:35 +00:00
wiz
168147d486
Sort sections.
2006-12-23 09:04:23 +00:00
wiz
5021afa87b
Sort error descriptions.
2006-12-18 00:09:59 +00:00
mjf
c31a06a820
Update to reflect recent changes to confstr(3).
2006-12-08 15:57:07 +00:00
pavel
edab74570a
Move the description of sysctl MIBs from sysctl.3 to a new manual page
...
sysctl.7. Remove the list of MIBs from sysctl.8 so we don't have to
maintain duplicate information, as proposed by YAMAMOTO Takashi on
tech-userlevel. Also remove references to header files from sysctl.8.
The numeric constants remain documented, they are still needed in some
cases. See the discussion on tech-userlevel. ("mib list in sysctl.8")
OK by YAMAMOTO Takashi.
2006-12-04 08:59:13 +00:00
christos
8b3eb79f93
PR/35170: Guy Harris: confstr() should return 0, not -1, on errors
2006-12-03 00:39:19 +00:00
christos
47fd231e41
ansi, minor knf, no functional change.
2006-12-01 18:57:29 +00:00
elad
174436830e
Adapt to recent Veriexec sysctl(9) changes.
2006-11-27 17:55:12 +00:00
christos
52e2f11be9
PR/35129: David A. Holland: exit in utmpx code should be _exit
2006-11-26 17:33:23 +00:00
christos
df031f1edc
PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the
...
physical memory
2006-11-25 21:40:04 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
elad
3dc874e6b2
Add note about Segvguard interface/implementation being experimental and
...
with the potential to change in future releases.
2006-11-23 17:24:36 +00:00
christos
4ca73ce810
Don't expose _ss functions for 4.0. Requested by core.
2006-11-22 17:23:24 +00:00
elad
a84fee7faf
Initial implementation of PaX Segvguard (this is still work-in-progress,
...
it's just to get it out of my local tree).
2006-11-22 02:02:51 +00:00
christos
21b2d7e28c
on non-x86 execl*.c needs alloca.
2006-11-11 21:16:00 +00:00
christos
0b1f5855c2
no stack protector warning for execvp
2006-11-09 04:00:11 +00:00
christos
4ba9b8cfbe
undo the previous; we need alloca here, otherwise the parent will leak on
...
vfork.
2006-11-09 03:57:26 +00:00
christos
e0d6d71d76
use mmap instead of malloc because we may have vforked. pointed out by yamt.
2006-11-09 02:51:52 +00:00
christos
249933b899
if we are using ssp, use malloc instead of alloca.
2006-11-08 23:27:32 +00:00
christos
b442c7cdd1
weak for syslog_ss
2006-11-05 04:35:35 +00:00
christos
95c7627c87
use FD_CLOEXEC instead of 1.
2006-11-03 20:18:49 +00:00
christos
1083e07a50
- verify that the log file is usable, otherwise re-open it.
...
- if the file is re-opened, clear the connected flag.
- don't check that the file is opened before connecting, because the
file will be opened then.
2006-11-02 20:36:29 +00:00
cbiere
4b14bb6309
Changed error message of ENOPROTOOPT to "Protocol option not available".
2006-10-31 00:38:06 +00:00
wiz
bb93eb1630
Remove trailing whitespace. Use .Bl -enum for an enumeration.
2006-10-28 22:50:16 +00:00
christos
5c60f22be5
need to negate before masking; from abp.
2006-10-27 21:36:50 +00:00
christos
d15d9f8a71
add async-signal-safe versions: syslog_ss and vsyslog_ss
...
multithread-safe syslog_r and vsyslog_r are not async-signal-safe.
2006-10-27 20:00:55 +00:00
uwe
b0f3335e9a
Add syslog_r.3 link (hi christos).
2006-10-27 01:24:26 +00:00
wiz
d8f71c6e09
Various fixes.
2006-10-26 13:08:17 +00:00
christos
64c9721228
don't use strerror_r in the re-entrant case.
2006-10-26 10:00:38 +00:00