| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
when the same pipe FILE is pclosed()'d in different threads, and to avoid
corrupting the linked list when adding or removing items. The symptoms of
the linked list getting corrupted were pclose() either not finding the pipe
on the list, or the list becoming circular and pclose() looping infinitely.
|
|
|
|
|
|
|
|
| |
to Solaris, it is in /usr/libexec) to perform the handing over of tty nodes
to the user being granted the pty.
Submitted by: Ryan Younce <ryany@pobox.com>
Reviewed by: security-officer@, standards@, mike@
|
|
|
|
|
|
|
|
|
|
|
| |
This situation most notably arises in chkprintcap, when a /etc/printcap
entry has an empty rp= attribute. In that case, cgetmatch would enter
an infinite loop if any entry in the file has multiple names.
This causes lpd to hang at boot time on 5.0-DP2 when both conditions
are met (:rp=: and multiple names -- not necessarily on the same entry).
Reviewed by: roberto
|
|
|
|
| |
especially in troff files.
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
|
|
|
|
| |
It makes a difference on 64-bit arches, and no one really wants a 2^64
block size [yet].
|
|
|
|
|
|
|
|
|
| |
a pointer and lack a prototype will have the return value (assumed
to be an integer) zero-extended to a pointer. On ia64 this is
unconditionally fatal as it zeroes-out the region bits, forming an
invalid pointer. Fix the sigsegv by including <stdlib.h>.
Pointy hat: bbraun
|
|
|
|
|
|
| |
Update copyrights.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
- Update BUGS: this stuff is implemented.
- Update last modified date.
- Document acl_set_link_np() call.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
|
| |
- Updated copyrights, modified dates
- Remove "BUGS" entry indicating that ACLs are unimplemented
- Implement acl_*_link() library wrapper variants for get, set,
delete, aclvalid.
- Document acl_*_link() calls.
Obtained from: TrustedBSD Project
|
| |
|
| |
|
|
|
|
|
| |
Make cgetmatch's locals const.
Make cdbget take a const string and copy it into a buffer.
|
| |
|
|
|
|
| |
not yet inplemented and to clear up some wording.
|
| |
|
|
|
|
|
|
|
| |
which perform shell-style word expansion on strings. This is still a
little rough around the edges.
PR: 13420
|
| |
|
| |
|
|
|
|
|
| |
PR: 46252
Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
|
|
|
|
| |
PR: docs/37176
|
|
|
|
| |
Approved by: re (rwatson)
|
|
|
|
|
|
|
| |
cast (casting long to a void pointer, rather than intptr_t to a
void pointer) bogons.
Reviewed by: bde
|
|
|
|
|
|
| |
by setproctitle().
Reviewed by: jkh
|
|
|
|
|
| |
by basename() and dirname().
Reviewed by: eric
|
|
|
|
|
|
| |
the -fpcc-struct-return calling convention properly instead of
returning garbage. This may break backwards compatibility with some old
binaries that were compiled when -fno-pcc-struct-return was the default.
|
|
|
|
|
|
|
| |
values (EOF in our case) on error, and some of the possible errno values
in an Errors section.
PR: 39257
|
|
|
|
| |
section to reflect this.
|
|
|
|
|
|
|
|
|
|
|
| |
o Fix an English error (comma splice) and poorly worded sentence.
o Fix KNF ordering of variables (pointers come before arithmetic types).
o Restore hand-optimization of sizeof()-1, instead of strlen().
o Remove unneeded local variables in strerror_r().
Test by: strerror regression test
Requested by: bde
Reviewed by: bde
|
|
|
|
|
| |
PR: 43357
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
| |
C99 now that all known standards-related bugs have been fixed.
|
|
|
|
| |
writes to the correct stream if stderr has been redirected with freopen().
|
|
|
|
|
|
|
|
| |
buffer does not get clobbered.
ISO/IEC 9899:1999 7.21.6.2 3:
"The implementation shall behave as if no library function calls the
strerror function."
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strerror_r(). Doing this allows us to ensure that strerror_r() always
fills the supplied buffer regardless of EINVAL or ERANGE errors.
strerror()'s semantics have changed slightly such that an argument of
0 is now considered invalid and errno is set to EINVAL.
Remove internal regression test for strerror() and strerror_r(). This
will be reincarnated in src/tools/regression/lib/libc/string.
In strerror(3), add a comment about strerror()'s bogus return type.
PR: 44356
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
|
|
|
|
|
|
|
|
| |
conversion specifications to completely specify the resulting struct tm.
PR: 46331
Submitted by: Christian S.J. Peron
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
from "unix" back to "local". Add some compat stuff so both
ways work for some time.
Reviewed by: phk
Approved by: imp (UPDATING)
Requested by: iedowse, lukem@netbsd.org
|
|
|
|
|
|
|
|
| |
does not hurt anything because uipc_ctloutput() does not check
sopt->sopt_level.
Pointed out by: ru
MFC after: 1 week
|
|
|
|
|
|
|
| |
This should be considered highly experimental for the moment.
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
| |
The bug does not affect anything because SOCK_STREAM == LOCAL_PEERCRED == 0x1.
PR: bin/46165
Submitted by: Alain Thivillon <at@rominet.net>
Reviewed by: dd
MFC after: 1 week
|