| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
function prototype with `pid_t' to match the declaration in
<unistd.h>.
Notes:
svn path=/head/; revision=114132
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
setgrent, and endgrent also. (The previous NSS implementation used to
simply twiddle the internal data of the various modules directly.)
A symptom (group list set incorrectly in sshd) was
Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=114021
|
| |
|
|
|
|
|
|
|
|
|
| |
idea to re-initialize `struct passwd', because e.g. pw_class might
get set by one module, but not by another. Add another call to the
internal pwd_init function to accomplish this.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113992
|
| |
|
|
|
|
|
|
|
| |
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113984
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Correct a bug that should have wreaked havoc everywhere, but for
some reason only bit unlucky people who use `-march' optimizations.
The compiler cannot assist one in distinguishing between the two
function calls below.
int nsdispatch(void *, ...);
void *discard;
nsdispatch(&discard, ...); /* correct .. no, really! */
nsdispatch(discard, ...); /* Boom */
Robin provided me with a debugging environment in which I could see
what was going on.
Badness when using CPUTYPE was
Reported by: "Robin P. Blanchard" <Robin.Blanchard@gactr.uga.edu>
Reported by: nork
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113882
|
| |
|
|
|
|
|
|
|
|
|
| |
privileges. To do so may cause the NIS server to log spurious and
annoying `access denied' messages.
Reported by: Philip Paeps <philip@paeps.cx>
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113794
|
| |
|
|
|
|
|
|
|
|
|
| |
would result in an incorrectly terminated grouplist.
login(1) crashes
Reported by: Morten Rodal <morten@rodal.no>,
Matthias Schuendehuette <msch@snafu.de>
Notes:
svn path=/head/; revision=113727
|
| |
|
|
|
|
|
|
|
|
| |
string was an incredibly dumb idea (of course it will be changed by an
NSS module on success!). Use a static empty string instead.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113694
|
| |
|
|
|
|
|
|
|
|
| |
but user is found in local file.
Reported by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113691
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
may not fill in all fields, and in the case of string fields, this could
cause trouble for applications. (The only likely example is `pw_class',
because this field is not used by all modules in all cases.)
Move initialization of struct passwd from module-specific code to the
dispatch code.
The problem of a NULL pw_class was
Noticed by: Philip Paeps <philip@paeps.cx>
and the c^Htrusty ssh(1) command.
Déjà vu by: getpwent.c revision 1.56
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113672
|
| |
|
|
|
|
|
|
|
|
| |
(_PWF_NIS and _PWF_HESIOD were already being set.)
Reported by: Shizuka Kudo <shizukakudo_99@yahoo.com>
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113670
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
at least one consumer outside of libc and pwd_mkdb.
Adjust the versioning in libc and pwd_mkdb accordingly.
named was the application affected, and that fact was first
Reported by: Zherdev Anatoly <tolyar@mx.ru>
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113666
|
| |
|
|
|
|
|
|
|
|
| |
hated `compat' source, not `files'.
Reported by: Philip Paeps <philip@paeps.cx>
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113643
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
family of functions using the new nsdispatch(3) core. Remove
arbitrary size limits when using the thread-safe versions.
= Re-implement the traditional getpwent(3)/getgrent(3) functions on
top of the thread-safe versions.
= Update the on-disk format of the hashed version of the passwd(5)
databases to allow for versioned entries. The legacy version is
`3'. (Don't ask.)
= Add support for version `4' entries in the passwd(5) database.
Entries in this format are identical to version 3 entries except
that all integers are stored as 32-bit integers in network byte
order (big endian).
= pwd_mkdb is updated to generate both version 3 and version 4
entries.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113596
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
may be built into libc (`static NSS modules') or dynamically loaded
via dlopen (`dynamic NSS modules'). Modules are loaded/initialized
at configuration time (i.e. when nsdispatch is called and nsswitch.conf
is read or re-read).
= Make the nsdispatch(3) core thread-safe.
= New status code for nsdispatch(3) `NS_RETURN', currently used to
signal ERANGE-type issues.
= syslog(3) problems, don't warn/err/abort.
= Try harder to avoid namespace pollution.
= Implement some shims to assist in porting NSS modules written for
the GNU C Library nsswitch interface.
Sponsored by: DARPA, Network Associates Laboratories
Notes:
svn path=/head/; revision=113595
|
| |
|
|
|
|
|
| |
fails. The documentation was incorrectly updated in getbootfile.3 rev. 1.10.
Notes:
svn path=/head/; revision=113362
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113235
|
| |
|
|
|
|
|
| |
Requested by: ru
Notes:
svn path=/head/; revision=113224
|
| |
|
|
|
|
|
|
| |
- Use the environment variable 'PATH_FSTAB' if set rather than the
hardcoded '/etc/fstab' (fstab.h:_PATH_FSTAB)
Notes:
svn path=/head/; revision=113219
|
| |
|
|
|
|
|
|
|
| |
more complicated things than just setting the lock to 0.
- Implement stubs for this function in libc and the two threading libraries
that are currently in the tree.
Notes:
svn path=/head/; revision=112665
|
| |
|
|
|
|
|
| |
The ... 2 system call
Notes:
svn path=/head/; revision=112543
|
| |
|
|
| |
Notes:
svn path=/head/; revision=112542
|
| |
|
|
|
|
|
|
|
|
| |
by NIS work, like nsswitch.conf(5) promises to be able to.
(These modifications will be fed back to NetBSD, of course)
- In endusershell(), do not set `sl' to NULL if we know it already has
that value.
Notes:
svn path=/head/; revision=112407
|
| |
|
|
|
|
|
| |
leaving without deallocating `data' thereby creating a memory leak.
Notes:
svn path=/head/; revision=112404
|
| |
|
|
|
|
|
|
| |
struct member names and the corresponding comments so the lines don't
wrap on 80-column terminals.
Notes:
svn path=/head/; revision=112190
|
| |
|
|
|
|
|
| |
`implicit declaration of function' variety.
Notes:
svn path=/head/; revision=111618
|
| |
|
|
|
|
|
|
|
| |
Tidy up the markup.
Only describe the new, post-2.0 behavior.
Added the RETURN VALUES and ERRORS sections.
Notes:
svn path=/head/; revision=111449
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111447
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111285
|
| |
|
|
|
|
|
|
|
|
|
| |
* use correct error detection of realloc failure
* strtol negative return check
* use strtol to validate string instead of rolling our own
validation code
* terminate the command sequence correctly
Notes:
svn path=/head/; revision=111274
|
| |
|
|
|
|
|
|
|
| |
fix const poisoning
add cast to silence warning
pull in unistd.h
Notes:
svn path=/head/; revision=111273
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111262
|
| |
|
|
|
|
|
| |
dladdr() and dlinfo() functions calls.
Notes:
svn path=/head/; revision=111213
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111082
|
| |
|
|
|
|
|
|
|
|
| |
Only warnings that could be fixed without changing the generated object
code and without restructuring the source code have been handled.
Reviewed by: /sbin/md5
Notes:
svn path=/head/; revision=111010
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110932
|