silby
ac93c76bf6
Update docs to reflect change in count of procs reserved for root
...
from 1 to 10.
PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
2002-07-30 05:36:34 +00:00
iedowse
36cd9c677d
Revert part of revision 1.10, as it broke portmap lookups for IPv4
...
TCP clients. The problem was that a struct netconfig returned by
getnetconfigent() was being treated as a handle for __rpc_getconf(),
which certainly isn't right.
The tirpc-99 code uses __rpc_setconf("udp")/__rpc_getconf() to find
the IPv4 udp netconfig, but our implementation of these functions
seem happy to return IPv6 entries, so we can't use them. By reverting
to the old version, we are hard-coding the name of the udp4 netid.
Tracked down by: Bakul Shah <bakul@bitblocks.com>
2002-07-26 07:52:21 +00:00
ume
4b45c00ba2
sysctl(NET_RT_IFLIST) up to several (currently 5) times.
...
This will make the behavior robuster if many addresses are added
after the size estimation of storage at the first sysctl.
Reviewed by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
MFC after: 1 week
2002-07-25 08:08:30 +00:00
ume
11795efea7
- ntohs() returns unsigned value.
...
- use strlcpy.
- snprintf can return negative value, so cope with it.
- tweak interface index on interface locals (ff01::/16).
- removed unused macros.
- removed a macro that uses only once (in a trivial context).
- explicitly say goodbye to ENI_xxx.
- constify struct afd.
Obtained from: KAME
MFC after: 1 week
2002-07-24 18:58:32 +00:00
mikeh
cd0195b666
Update glob(3) to add all the POSIX required options, specifically:
...
- add GLOB_NOMATCH return value and use it when we don't get a match
- rename GLOB_ABEND to GLOB_ABORTED and use it instead of returning 1
in some places
- add GLOB_NOESCAPE flag and retire GLOB_QUOTE to compatibility
section
Suggestions/advice on correct usage of POSIX defines: wollman
2002-07-17 04:58:09 +00:00
mckusick
3abb526f86
Change utimes to set the file creation time (for filesystems that
...
support creation times such as UFS2) to the value of the
modification time if the value of the modification time is older
than the current creation time. See utimes(2) for further details.
Sponsored by: DARPA & NAI Labs.
2002-07-17 02:03:19 +00:00
wollman
199f131d07
Don't ask me how I consistently turned struct statvfs into struct vfsconf....
2002-07-16 20:40:12 +00:00
wollman
92fcd29282
Assume that my bug report against 1003.1-2001 will be resolved my way,
...
and make 64-bit architectures use the LP64_OFF64 environment instead
of the LPBIG_OFFBIG one.
2002-07-15 22:43:03 +00:00
wollman
f62ac07676
Support POSIX/SUS ``programming environment'' mistake in confstr().
2002-07-15 22:21:33 +00:00
wollman
b2f83d271c
All of the things that confstr() returns are compile-time constants.
...
It's silly to call sysctl() to get the value of _PATH_STDPATH from
<paths.h> when we can just use it directly. This greatly simplifies
the implementation. (This is also part of my grand scheme to get
rid of sysctl's `user' category, which should never have been created.)
Use strlcpy() instead of strncpy() as it has the exact semantics we want.
2002-07-15 21:51:19 +00:00
keramida
5bd8884c66
The .Fn function.
2002-07-15 20:59:12 +00:00
keramida
5777e081fa
The .Fn function
2002-07-15 20:50:16 +00:00
wollman
d1ed324a35
Don't bother asking the kernel about _SC_FSYNC; it's not optional.
2002-07-15 20:42:05 +00:00
keramida
2974c4bd84
Add a missing 'function' word.
...
Use .Vt to mark up `struct stat' when it is a variable type.
2002-07-15 20:07:09 +00:00
ume
c95ccb75f4
Use BSDi derived if_nametoindex(), if_indextoname(), if_nameindex()
...
and if_freenameindex().
Obtained from: KAME
MFC after: 2 weeks
2002-07-15 19:58:56 +00:00
keramida
c6226499e9
The .Fn function
2002-07-15 19:56:24 +00:00
wollman
13b1a9cedc
Don't claim to fully implement C99 in the STANDARDS section and then disclaim
...
compliance in the BUGS section immediately below.
2002-07-15 19:46:06 +00:00
wollman
382395e868
Note that fseeko() and ftello() are standard in 1003.1-2001.
...
(Prefer the more-encompassing POSIX standard to SUSv2.)
2002-07-15 19:42:25 +00:00
keramida
bc32551746
Fix whitespace in .Bd -literal display of S_IXXX constants.
...
Noticed by: jmallett
2002-07-15 08:58:16 +00:00
alfred
ef40393a59
Fix "rpcinfo -m" when talking to other implementations of rpcbind.
...
Submitted by: mbr (NetBSD PR#15802)
2002-07-14 23:38:37 +00:00
alfred
11274ff2e6
clnt_vc_create() has const scalar arguments that wind up being modified,
...
fix it (make them non-const) and update the associated documentation.
Submitted by: mbr
2002-07-14 23:35:04 +00:00
alfred
9d11d52e91
Cast function args to silence warning.
...
Submitted by: mbr
2002-07-14 23:20:08 +00:00
alfred
4add317b3c
Add a prototype for __rpcb_findaddr_timed to silence a warning.
2002-07-14 23:14:08 +00:00
alfred
2d2461dde0
Silence several warnings due to functions that needed to take a void *
...
having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(),
clnt_vc_control().
2002-07-14 23:14:02 +00:00
wollman
02d3f94cc9
Fix a few bugs in the ERRORS section.
2002-07-13 19:38:59 +00:00
wollman
9c6596bcd6
Add statvfs(3) to the build.
...
Tested by: Steve Kargl
2002-07-13 19:33:20 +00:00
wollman
feae9590e0
Well, it's not quite strxfrm(3) but at least it's honest.
2002-07-13 19:29:44 +00:00
keramida
760cdded06
Various typo fixes.
...
PR: docs/39395
Submitted by: Rich Neswold <rneswold@ameritech.net>
2002-07-12 01:30:18 +00:00
wollman
231c73de87
A simple implementation of statvfs(3) (one step above the trivial one).
...
Not yet connected to the build (awaiting documentation).
2002-07-11 22:54:11 +00:00
alfred
44a833ee5a
Update manpages to reference 'timed' rpc functions
2002-07-11 22:25:16 +00:00
alfred
5b169b54b8
Add functions allowing for the user to specify a timeout for rpc functions.
...
Update copyrights to reflect where this code was lifted from. (tirpc '99)
Submitted by: mbr
2002-07-11 16:23:04 +00:00
tmm
95a384b19a
Add missing ret instruction to the ptrace() syscall wrapper.
2002-07-11 15:48:02 +00:00
wollman
7e0fbbed95
Fix some comments.
2002-07-10 16:35:02 +00:00
mux
9d6bbab0db
Typo fix: Setlogin() -> setlogin().
...
Submitted by: Olivier Houchard <cognet@ci0.org>
2002-07-08 20:16:15 +00:00
mike
2363974e0c
Bring poll.h up to conformance with POSIX.1-2001 by adding some
...
visibility conditionals, adding the nfds_t type, and changing the
poll() prototype a little. Update the manual to match.
2002-07-08 16:37:35 +00:00
dannyboy
6ed5521a7e
s/unavilable/unavailable/
...
PR: 39446
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 1 day
2002-07-07 18:08:51 +00:00
robert
4c9a1c63b4
Fix syntax error which occurred when LIBC_SCCS was defined.
2002-07-07 11:28:28 +00:00
chris
c54abf6b04
Move appropriate information out of DESCRIPTION' and into
SECURITY
...
CONSIDERATIONS'.
Sponsored by: DARPA, NAI Labs
2002-07-03 15:31:47 +00:00
chris
b9183e530c
Correct a call to fcntl(F_SETFD) to use FD_CLOEXEC' instead of
1'.
2002-07-03 08:15:55 +00:00
chris
306b98b34d
Add a SECURITY CONSIDERATIONS example: make note that access to open
...
file descriptors does not change upon dropping privilege, and include
a likely case of `setuid(non_superuser); exec(...);'.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-03 08:13:25 +00:00
mini
46aac0b82f
Fix off-by-one error.
...
PR: misc/40104
Submitted by: Neal Fachan <neal@isilon.com>
MFC after: 3 days
2002-07-03 06:28:04 +00:00
mp
2b2c982721
Fix typo (SIGEV_EVENT -> SIGEV_KEVENT).
2002-07-02 21:05:08 +00:00
ume
ddbac8e311
Make NI_WITHSCOPEID a default (always on), to synchronize
...
with recent 2553bis.
Obtained from: KAME
MFC after: 3 weeks
2002-07-02 11:05:31 +00:00
chris
22405035c0
Rename CAVEAT' to
SECURITY CONSIDERATIONS' and move it up to
...
the correct location--this section consists solely of security
considerations information.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-01 14:41:05 +00:00
obrien
0ceea17099
Use FBSDID
2002-06-30 05:36:49 +00:00
obrien
83975c1387
Use __FBSDID.
2002-06-29 03:23:51 +00:00
obrien
30c36077fc
Add frexp(3).
...
Obtained from: OpenBSD
2002-06-29 03:23:18 +00:00
silby
a0823faefa
Fix style bugs I added in last commit.
...
Spotted by: bde
2002-06-27 14:16:21 +00:00
deischen
0ac902835e
Remove pselect from application namespace and instead use a weak reference
...
to the actual implementation. This is to allow libc_r to override
pselect() making it a cancellation point.
Prompted by: wollman
2002-06-27 13:23:46 +00:00
deischen
dad2305f62
Remove improper use of <namespace.h>.
...
Remove fmtcheck from application name space (fix the weak reference).
2002-06-27 13:20:54 +00:00