| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
adjunct maps are used. One symtom of this bug is sshd saying:
login_get_lastlog: Cannot find account for uid X
when logging in. The problem here is caused by an incorrect reuse of the rv
variable when previous values are needed later.
Notes:
svn path=/head/; revision=128537
|
| |
|
|
|
|
|
|
| |
updated to use getvfsbyname(3) or the vfs.conflist sysctl since a
long time, except mount_smbfs(8) which has just been fixed.
Notes:
svn path=/head/; revision=128143
|
| |
|
|
|
|
|
|
|
|
| |
null pointer constant. (The latter may be an integer constant, which
is not correct here.)
Submitted by: Stefan Farfeleder
Notes:
svn path=/head/; revision=128050
|
| |
|
|
|
|
|
| |
Reviewed by: ru
Notes:
svn path=/head/; revision=127401
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127400
|
| |
|
|
|
|
|
|
|
| |
pthreads.
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>
Notes:
svn path=/head/; revision=127373
|
| |
|
|
| |
Notes:
svn path=/head/; revision=127271
|
| |
|
|
|
|
|
| |
vslock() failure).
Notes:
svn path=/head/; revision=127015
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this provokes. "Wherever possible" means "In the kernel OR NOT
C++" (implying C).
There are places where (void *) pointers are not valid, such as for
function pointers, but in the special case of (void *)0, agreement
settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many
of the fixes were NULL where ascii <nul> ('\0') was needed, and a
few were just "other".
Tested on: i386 sparc64
Notes:
svn path=/head/; revision=126643
|
| |
|
|
|
|
|
|
| |
Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>
PR: bin/63283
Notes:
svn path=/head/; revision=126180
|
| |
|
|
|
|
|
|
|
|
| |
Approved by: simon(mentor)
Reviewed by: ru
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
PR: docs/60044
Notes:
svn path=/head/; revision=126164
|
| |
|
|
|
|
|
|
|
|
|
| |
These files had tags at the start of the file
(incorrect, removed), and after the copyright
notices (correct).
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125667
|
| |
|
|
|
|
|
| |
internal mutex and CV.
Notes:
svn path=/head/; revision=125521
|
| |
|
|
|
|
|
|
|
| |
Don't decrement it twice when it is taken.
Reported by: kris
Notes:
svn path=/head/; revision=125518
|
| |
|
|
|
|
|
| |
Reported by: kris
Notes:
svn path=/head/; revision=125509
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125502
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125446
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
overridden by the threads library to provide a userland version
of non-pshared semaphores and cancellation points. Also add
a sem_timedwait().
The libc version of semaphores always uses kernel semaphores
regardless of whether pshared is set or not. When threads are
not present, it is difficult to get sem_wait() or sem_timedwait()
to do the right thing (since pthread_cond_timedwait() and
pthread_cond_wait() are stubs in libc and just return immediately).
Notes:
svn path=/head/; revision=125372
|
| |
|
|
|
|
|
|
|
|
|
| |
http://citeseer.nj.nec.com/fluhrer01weaknesses.html and
http://citeseer.nj.nec.com/531224.html .
PR: 61126
Submitted by: Jeff Ito <jeffi@rcn.com>
Notes:
svn path=/head/; revision=124741
|
| |
|
|
|
|
|
|
| |
PR: bin/2442
Reviewed by: Friedemann Becker <zxmxy33@mail.uni-tuebingen.de>
Notes:
svn path=/head/; revision=124690
|
| |
|
|
|
|
|
|
| |
non-threaded won't build. The cancellation point support should be
further discussed.
Notes:
svn path=/head/; revision=124614
|
| |
|
|
|
|
|
|
|
| |
For pshared semaphore, this commit still does not enable cancellation
point, I think there should be a pthread_enter_cancellation_point_np
for libc to implement a safe cancellation point.
Notes:
svn path=/head/; revision=124605
|
| |
|
|
|
|
|
| |
Submitted by: bde
Notes:
svn path=/head/; revision=124568
|
| |
|
|
|
|
|
|
|
|
| |
- sem_*(3) manpages were repocopied from libc_r.
Reviewed by: deischen
Repocopy by: markm
Notes:
svn path=/head/; revision=124530
|
| |
|
|
| |
Notes:
svn path=/head/; revision=124432
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
getpwent(3) or getpwuid(3) when using NIS adjunct maps. The bug was
present in the internal `nis_passwd' function. The lookup in the
adjunct map used the name passed into `nis_passwd', however no name
was of course supplied by getpwent or getpwuid. Correctly use the
name from the `struct pwd' that was found instead.
PR: bin/59962
Submitted by: Gabriel Gomez <ggomez@fing.edu.uy>
Notes:
svn path=/head/; revision=124431
|
| |
|
|
| |
Notes:
svn path=/head/; revision=124174
|
| |
|
|
|
|
|
|
|
| |
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
|