| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
to RETURN VALUES like they should be.
|
|
|
|
|
| |
say is means that a pathname had the high-order bit
set, since this is no longer an error.
|
|
|
|
|
|
| |
Add RETURN VALUES and ERRORS sections to mincore.
Closes PR# 1493.
|
| |
|
| |
|
|
|
|
|
|
| |
section.
Part of PR# 1493.
|
|
|
|
|
|
| |
be 7 bit clean, since it isn't true anymore.
Part of PR# 1493.
|
|
|
|
|
|
| |
stat.h. Also add a little blurb regarding st_mtime &
friends clarifiying how they are defined in a
non-_POSIX_SOURCE envorinment. Closes PR# 1089.
|
| |
|
|
|
|
|
|
| |
the first pass.
Submitted by: Greg Lehey <grog@lemis.de>
|
|
|
|
|
|
|
|
|
| |
interfaces, until it's redone to use sysctl().
- bump the SIOCGIFCONF buffer size from 1K to 8K
- if we didn't find a suitable address, return a failure. Previously
if it didn't find anything it left the return address uninitialised.
Perhaps it would be better to return AF_INET/111/127.0.0.1 rather than
failing?
|
|
|
|
|
| |
EAGAIN, not EACCES. POSIX says that either one is OK.
2.2 candidate.
|
|
|
|
| |
Submitted by: paul@vix.com
|
|
|
|
|
| |
Document the flaw that `offset' is required to be page-aligned, in the
BUGS section.
|
|
|
|
|
| |
isxdigit(name[0]) gives false failures on short names which looks
like hexadecimal digits, f.e. "fade", "babe", "d133", etc.
|
|
|
|
|
|
|
|
| |
more manageable and convenient referencing by login.conf (login
class database) and (e.g.) login.access.
This is the first of a group of commits which implements the login
class capabilities database.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(There may be a behavior difference between the 2.1 and 2.2/3.0 kernels
in this area, it seemed to work for me but I have a horribly hacked
select() that might have a bug in the handling of this)
Submitted by: wpaul
|
| |
|
|
|
|
|
|
|
|
| |
Restore the clamp on the return value from rpc_dtablesize().. Some programs
(eg: ypserv) use this as an indication of how large svc_fdset is in their
hand-rolled svc_run() loops. The svc_fdset table is maintained by the
rpc library explicitly for compatability with such programs. (It uses
a different variable-sized bitmap itself internally)
|
|
|
|
|
|
|
|
| |
- extern prototypes now in include file
- fix local prototypes
- use standard functions
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
| |
- overhaul for unlimited fd's
- OpenBSD's ftp port bounce attack fix
- fix timeouts
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
| |
- prototypes now in common include file
- use standard functions
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
|
|
| |
- prototypes now in include files
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
Note: potential bug here, It looks like there could be a null pointer
dereference depending on what has already been called to initialise some
shared data.
|
|
|
|
|
|
| |
- use standard functions
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- kill non-FD_SETSIZE code
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
Note, there was a nasty bug with our old code here. It would trash the
stack if a fd > 31 was passed in. It was using a "long" as though it
was an "fd_set", ie: it was assuming that a long was 256 bits wide. :-(
This has been lurking here for a while, since the FD_SETSIZE #ifdef's
were first implemented.
|
|
|
|
| |
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
| |
This function is now unused.
|
|
|
|
| |
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
| |
- use standard functions
- prototype now in include file
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
|
|
|
| |
- fix timeout code
- better sequence number generation (for long running daemons)
- dont close an unopen socket
- use standard functions
- 64 bit type safe for wire protocols
- unlimited file descriptors
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
| |
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
| |
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
| |
- ensure we're not spoofed/confused while trying to talk to the portmapper
- handle new get_myaddress failure cases
- prototype now in include file
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
| |
- canconical function declaration (ctags safe)
- use standard functions
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
| |
- missed endrpcent() in some cases.
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
|
|
|
| |
- fix timeout code
- better "random" initial transaction id for long running daemons
- unlimited number of file descriptors to select().
- 64 bit type safe wire protocol
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
- typo (spelling police :-)
- dont die on select() that returns time remaining (on my systems)
|
|
|
|
|
|
|
|
|
|
| |
- improve initial "random" sequence number, to make it harder to guess
in long running daemons.
- fix timeout code.
- unlimited number of fd's in select.
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
- Protect against select() that returns time remaining (on my systems).
|
|
|
|
|
|
| |
- warn about FD_SETSIZE in certain internal functions
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
| |
- list missing functions
- list missing args
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
| |
- don't exit. It's bad form for libc to exit() or abort() instead of
returning an error.
- only use loopback addresses after checking the real interfaces.
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
|
|
| |
- canonical function declaration
- use constants from includes, not magic numbers
- use standard functions
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
| |
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
| |
- optimise the error number -> string mapping code
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
| |
- timeout code repaired elsewhere, remove unneeded workaround
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
|
|
| |
- standard function name
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|
|
|
|
| |
Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
|