| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
directory.
Special thanks to: valgrind
Notes:
svn path=/head/; revision=123861
|
| |
|
|
|
|
|
| |
Noticed by: wollman
Notes:
svn path=/head/; revision=123780
|
| |
|
|
|
|
|
|
|
| |
PR: 20528
Submitted by: bms (original version)
Requested by: mike (awhile ago)
Notes:
svn path=/head/; revision=123773
|
| |
|
|
|
|
|
|
|
|
| |
more than NGROUP elements without providing the opportunity to
setgroups to fail and correctly return error and set errno.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=122899
|
| |
|
|
| |
Notes:
svn path=/head/; revision=122443
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
by a parent that is a session leader (e.g., login shell) by ignoring
SIGHUP in before calling fork(2) and then restoring SIGHUP's action
after setsid(3). Based on the patch by Martin Kammerhofer
<mkamm@gmx.net>.
PR: bin/25462
Reviewed by: bde, alex.neyman@auriga.ru
Notes:
svn path=/head/; revision=122442
|
| |
|
|
|
|
|
|
|
|
| |
words "pattern" and "test"; this should make it easier
to find with "man -k"
Approved by: gordon (mentor)
Notes:
svn path=/head/; revision=122155
|
| |
|
|
| |
Notes:
svn path=/head/; revision=121737
|
| |
|
|
|
|
|
| |
characters '*', '?' and '['.
Notes:
svn path=/head/; revision=121728
|
| |
|
|
|
|
|
| |
lacking the issetugid() and utrace() syscalls.
Notes:
svn path=/head/; revision=121667
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120010
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119964
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119893
|
| |
|
|
|
|
|
|
|
| |
used, and refer to <osreldate.h> to get userland date.
Submitted by: ru
Notes:
svn path=/head/; revision=119654
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gethostname()'s old and new signatures without requiring a library
bump. Note that programs which called gethostname() with a negative
argument were already broken, since the same type conversion was done
by the old implementation. Add a note in the Makefile so that whoever
next bumps the libc revision will delete the kluge at the same time
(as it will no longer be necessary). This is only operative on 64-bit
platforms.
Submitted by: marcel
Notes:
svn path=/head/; revision=119151
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when the buffer is not long enough to hold the current host name.
POSIX does not standardize error returns for gethostname(), so it
doesn't matter which one we use, but ENAMETOOLONG is at least a little
more intuitive, and mi suggests the existence of prior art. I've been
running with this change for a while on my home machine with no
effect. At the same time, I've updated the prototype for
gethostname() to use the correct standard type (size_t) for the
namelen argument.
All of the in-tree callers fall into one of the following categories:
1) Call perror() or equivalent when gethostname() fails.
2) Ignore gethostname()'s return value entirely, potentially resulting
in data corruption if the buffer is too small.
3) Fall back to a (possibly sensible) default value if gethostname()
fails.
Many of the callers I examined shows signs of confusion about the
correct sizing of the host name buffer. gethostname(3) now has more
information about this, as well as updated standards information.
PR: 48114
Submitted by: mi (in part)
Notes:
svn path=/head/; revision=119140
|
| |
|
|
|
|
|
|
|
| |
PR: standards/54634
Reviewed by: das
Approved by: jake (mentor)
Notes:
svn path=/head/; revision=118684
|
| |
|
|
| |
Notes:
svn path=/head/; revision=118247
|
| |
|
|
|
|
|
|
|
| |
thread library.
Reviewed by: deischen
Notes:
svn path=/head/; revision=117757
|
| |
|
|
|
|
|
| |
in the standard. Defer to gettimeofday(2) for error indications.
Notes:
svn path=/head/; revision=117754
|
| |
|
|
|
|
|
|
|
| |
(if present), even on error.
Pointed out by: Wojtek Lerch, on the Austin Group mailing-list
Notes:
svn path=/head/; revision=117753
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't probe the server at all for passwd.by* maps. This fixes
interoperability with the Services For UNIX NIS server (which is
really a front end to Captive^WActiveDirectory). This server
incorrectly returns success for all YPPROC_MASTER requests,
even for maps that don't exist, which makes it impossible to
(ab)use it to probe for the existence of the master.passwd.by*
maps.
This is a little kludgey, but basically restores the original
behavior of getpwent.c as it is in -stable, and works around both
the lack of YPPROC_ORDER on NIS+ servers as well as the broken
YPPROC_MASTER on Services For UNIX servers.
Notes:
svn path=/head/; revision=117750
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117735
|
| |
|
|
|
|
|
| |
Desired by: bde
Notes:
svn path=/head/; revision=117204
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117111
|
| |
|
|
|
|
|
|
|
|
|
| |
The old buffer was not being initialized and a later str*() op on
it would cause a crash if it wasn't initialized by a previous
call to setproctitle(3) with an actual string.
Noticed by: Ashley Penney <ashp@unloved.org>
Notes:
svn path=/head/; revision=117102
|
| |
|
|
|
|
|
|
|
|
|
| |
Change execvp to be a wrapper around execvP. This is necessary for some
of the /rescue pieces. It may also be more generally applicable as well.
Submitted by: Tim Kientzle <kientzle@acm.org>
Approved by: Silence on arch@
Notes:
svn path=/head/; revision=117030
|
| |
|
|
| |
Notes:
svn path=/head/; revision=117014
|
| |
|
|
|
|
|
|
| |
PR: bin/52792
Submitted by: TOMITA Yoshinori <yoshint@flab.fujitsu.co.jp>
Notes:
svn path=/head/; revision=116901
|
| |
|
|
|
|
|
| |
it in any case.
Notes:
svn path=/head/; revision=116797
|
| |
|
|
|
|
|
|
| |
and sigprocmask(2). These two syscalls are likely to be accompanied
by a few sigsetops(3) in a typical piece of code.
Notes:
svn path=/head/; revision=116785
|
| |
|
|
|
|
|
| |
Noticed by: kris
Notes:
svn path=/head/; revision=116651
|
| |
|
|
|
|
|
| |
Reviewed by: imp
Notes:
svn path=/head/; revision=116636
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116610
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also fixed the rest of ell (list) functions prototypes to include
a (commented out) terminating null pointer.
Pointed out by: bde
Obtained from: POSIX.1-2001
Glanced at by: imp
Notes:
svn path=/head/; revision=116537
|
| |
|
|
|
|
|
| |
Confused: anordby
Notes:
svn path=/head/; revision=116471
|
| |
|
|
| |
Notes:
svn path=/head/; revision=116025
|
| |
|
|
|
|
|
| |
instead of .Xr when needed
Notes:
svn path=/head/; revision=116021
|
| |
|
|
|
|
|
| |
Format other unknown devices consistently in hex.
Notes:
svn path=/head/; revision=115881
|
| |
|
|
|
|
|
| |
Submitted by: bde
Notes:
svn path=/head/; revision=115641
|
| |
|
|
| |
Notes:
svn path=/head/; revision=115631
|
| |
|
|
|
|
|
| |
function pointer passed in.
Notes:
svn path=/head/; revision=115604
|
| |
|
|
|
|
|
|
|
| |
my last commit.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=115401
|
| |
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=115225
|
| |
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=115143
|
| |
|
|
|
|
|
|
|
|
| |
Fixes a problem where directory entries could show up twice: once
on the top layer of the union stack, and once on the bottom layer.
Approved by: re (rwatson)
Notes:
svn path=/head/; revision=115047
|
| |
|
|
|
|
|
| |
Discussed with: mdoc(7) officer ru
Notes:
svn path=/head/; revision=114454
|
| |
|
|
|
|
|
|
|
|
| |
Add an EXAMPLES section.
PR: 48493
Submitted by: Paul Herman <pherman@frenchfries.net> (original version)
Notes:
svn path=/head/; revision=114444
|
| |
|
|
|
|
|
| |
vocally objected to this safety belt.
Notes:
svn path=/head/; revision=114443
|
| |
|
|
|
|
|
|
|
|
| |
technique) so that we don't wind up calling into an application's
version if the application defines them.
Inspired by: qpopper's interfering and buggy version of strlcpy
Notes:
svn path=/head/; revision=114256
|