| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Return EFTYPE instead of EINVAL for wrong locale file format.
Whitespaces.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2) Move incomplete check for / in locale name from env section to
loadlocale(), add check for "." and ".." too.
It allows to check any argument, not env only.
3) Redesing LOAD_CATEGORY macro to eliminate code duplication.
4) Try harder in fallback code: if old locale can't be restored,
load "C" locale
5) White space formatting, long lines, etc.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernel access control.
Extensions to libc to provide basic MAC label manipulation facilities
for userland. These interface will be replaced in the next month
or two with more flexible interfaces, but provide sufficient support
to allow use of the Biba and MLS policies for user applications.
libc_r wrappers to follow.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
|
|
|
|
|
| |
return(NULL) for upward compatibility with more LC_* categories may be
implemented in future.
|
|
|
|
|
|
| |
above, as it should be.
Submitted by: Olivier Houchard <cognet@ci0.org>
|
|
|
|
|
|
| |
Replace strnpy + ='\0' with strlcpy
MFC after: 1 day
|
| |
|
| |
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
| |
from 1 to 10.
PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
and make 64-bit architectures use the LP64_OFF64 environment instead
of the LPBIG_OFFBIG one.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use .Vt to mark up `struct stat' when it is a variable type.
|
|
|
|
|
|
|
| |
and if_freenameindex().
Obtained from: KAME
MFC after: 2 weeks
|
| |
|
|
|
|
| |
compliance in the BUGS section immediately below.
|
|
|
|
| |
(Prefer the more-encompassing POSIX standard to SUSv2.)
|
|
|
|
| |
Noticed by: jmallett
|
|
|
|
| |
Submitted by: mbr (NetBSD PR#15802)
|
|
|
|
|
|
| |
fix it (make them non-const) and update the associated documentation.
Submitted by: mbr
|
|
|
|
| |
Submitted by: mbr
|
| |
|
|
|
|
|
| |
having a char * as an argument instead. clnt_dg_control(), clnt_raw_control(),
clnt_vc_control().
|
| |
|
|
|
|
| |
Tested by: Steve Kargl
|
| |
|
|
|
|
|
| |
PR: docs/39395
Submitted by: Rich Neswold <rneswold@ameritech.net>
|
|
|
|
| |
Not yet connected to the build (awaiting documentation).
|
| |
|
|
|
|
|
|
| |
Update copyrights to reflect where this code was lifted from. (tirpc '99)
Submitted by: mbr
|
| |
|
| |
|
|
|
|
| |
Submitted by: Olivier Houchard <cognet@ci0.org>
|