| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=11287
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=11226
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=11013
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=10456
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=10357
|
| |
|
|
|
|
|
| |
version string.
Notes:
svn path=/stable/2.1/; revision=10263
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=10262
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=9924
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=9923
|
| |
|
|
| |
Notes:
svn path=/stable/2.1/; revision=9211
|
| |
|
|
| |
Notes:
svn path=/head/; revision=9202
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8870
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8857
|
| |
|
|
|
|
|
| |
systems use it too
Notes:
svn path=/head/; revision=8522
|
| |
|
|
|
|
|
| |
Submitted by: Ruslan Belkin <rus@home2.UA.net>
Notes:
svn path=/head/; revision=8226
|
| |
|
|
|
|
|
|
|
|
| |
the so-called "System V IPC".
Submitted by: jbeukema@HK.Super.Net (John Beukema)
Obtained from: Th. Lockert <tholo@sigmasoft.com>, via NetBSD
Notes:
svn path=/head/; revision=8198
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- If you take the wheel entry out of /etc/group and turn on NIS,
the '+:*::' line is incorrectly flagged as the entry for wheel (the
empty gid section is translated to 0), hence getgrgid() returns '+'
as the name of the group instead of 'wheel.'
- Using just '+:' as the 'turn on NIS' switch in /etc/group makes
getgrgid() dump core because of a null pointer dereference. (Last
time I was in here, I foolishly assumed that fixing the core dump
problems with getgrnam() and getgrent() would fix getgrgid() too.
Silly me.)
Notes:
svn path=/head/; revision=8172
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8002
|
| |
|
|
|
|
|
|
|
|
| |
- it succeeded on non-directories (see POSIX 5.1.2.4).
- it hung on (non-open) named pipes.
- it leaked memory if the second malloc() failed.
- it didn't preserve errno across errors in close().
Notes:
svn path=/head/; revision=7978
|
| |
|
|
|
|
|
| |
memory here: the underlying YP routines handle this one for us).
Notes:
svn path=/head/; revision=7834
|
| |
|
|
|
|
|
|
|
|
|
| |
of the plus or minus lists at all, reject him. This lets you create
a +@netgroup list of users that you want to admit and reject everybody
else. If you end your +@netgroup list with the wildcard line
(+:::::::::) then you'll have a +@netgroup list that remaps the
specified people but leaves people not in any netgroup unaffected.
Notes:
svn path=/head/; revision=7815
|
| |
|
|
|
|
|
|
| |
programs which use err(3) to work nicely in a wider range of environments
(e.g., dialog).
Notes:
svn path=/head/; revision=7803
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7690
|
| |
|
|
|
|
|
|
|
| |
declared `void *setmode'.
Submitted by: kargl@troutmask.apl.washington.edu
Notes:
svn path=/head/; revision=7638
|
| |
|
|
|
|
|
|
|
|
|
| |
add #includes for YP headers when compiling with -DYP to avoid some implicit
declarations.
getgrent.c & getnetgrent.c: add some #includes to avoid implicit declarations
of YP functions.
Notes:
svn path=/head/; revision=7615
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7471
|
| |
|
|
|
|
|
|
| |
presence of the master.passwd.byname map, and remember to free the
returned order value before exiting.
Notes:
svn path=/head/; revision=7422
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7349
|
| |
|
|
| |
Notes:
svn path=/head/; revision=7340
|
| |
|
|
|
|
|
| |
any bogus arguments.
Notes:
svn path=/head/; revision=7336
|
| |
|
|
|
|
|
| |
if user program use it too in the same time.
Notes:
svn path=/head/; revision=7327
|
| |
|
|
|
|
|
|
| |
local password entries when YP was enabled. (How the heck did that
get by me!?)
Notes:
svn path=/head/; revision=7322
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
remapping mechanism in the following manner: if given an entry +@foo
and there is no netgroup named 'foo,' try searching for a regular
user group called 'foo' and build the cache using the members of
group 'foo' instead. If both a netgroup 'foo' and a user group 'foo'
exist, the 'foo' netgroup takes precedence, since we're primarily
interested in netgroup matching anyway.
This allows access control schemes based on ordinary user groups
(which are also available via NIS) rather than netgroups, since
netgroups on some systems are limited in really brain-damaged ways.
Notes:
svn path=/head/; revision=7319
|
| |
|
|
|
|
|
| |
tickle a bug in ypserv and make a serious mess of things.
Notes:
svn path=/head/; revision=7289
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
my network because setnetgrent() was trying to do a lookup on group "".
It seems that an attempt to do a yp_match() (and possible yp_next())
on a null or empty key causes Sun's ypserv in SunOS 4.1.3 to exit
suddenly (and without warning). Our ypserv behaves badly in this
situation too, thoush it doesn't appear to crash. In any event, getpwent,
getnetgrent and yp_match() and yp_next() are now extra careful not to
accidentally pass on null or empty arguments.
Also made a small change to getpwent.c to allow +::::::::: wildcarding,
which I had disabled previously.
Notes:
svn path=/head/; revision=7288
|
| |
|
|
|
|
|
|
| |
- Have the +@netgroup/-@netgroup caches handle the +user/-user cases too.
- Clean up getpwent() to take advantage of the improved +user/-user handling.
Notes:
svn path=/head/; revision=7278
|
| |
|
|
|
|
|
|
|
| |
- Prepend a '_' to a couple of things
- Make sure YP is enabled in _createcaches()
- Remove a couple of unused/uneeded variables from _createcaches()
Notes:
svn path=/head/; revision=7262
|
| |
|
|
|
|
|
|
| |
in addition to the existing NIS substitutions. I may tweak this a bit in
the future, but the important stuff is all here.
Notes:
svn path=/head/; revision=7258
|
| |
|
|
|
|
|
|
| |
the yp_first()/yp_next() combo, we let the database code in ypserv do some
of the work for us.
Notes:
svn path=/head/; revision=7223
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
work because parse_netgrp() doesn't recurse properly. Fixed by
changing
if (parse_netgrp(spos))
return(1);
to
if (parse_netgrp(spos))
continue;
inside parse_netgrp(). (Lucky for me I happen to have a fairly complex
'live' netgroup database to test this stuff with.)
Notes:
svn path=/head/; revision=7175
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added support for reading netgroups from NIS/YP in addition to the
local /etc/netgroups file. (Note that SunOS and many other systems only
support reading netgroups via NIS, which is a bit odd.)
- Fix Evil Null Pointer Dereferences From Hell (tm) that caused
parse_netgrp() to SEGV when expanding netgroups that include
references to other netgroups. Funny how nobody else noticed this.
This is the first step in implimenting +@netgroup substitution in
getpwent.c and any other places that could use it and don't already
support it (which is probably everywhere).
Notes:
svn path=/head/; revision=7149
|
| |
|
|
|
|
|
|
|
|
|
|
| |
by heading off possible null pointer dereferences in grscan(). Also
change getgrnam() slightly to properly handle the change: if grscan()
returns an rval of 1 and leaves a '+' in the gr_name field and YP is
enabled, poll the YP group.byname map before giving up. This should
insure that we make every effort to find a match in the local and
YP group databases before bailing out.
Notes:
svn path=/head/; revision=7124
|
| |
|
|
| |
Notes:
svn path=/head/; revision=6966
|
| |
|
|
| |
Notes:
svn path=/head/; revision=6693
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| void
| *signal(int sig, void (*func)(int))
instead of
| void
| *signal(sig, func())
|
| void
| (*func)()
Notes:
svn path=/head/; revision=6681
|
| |
|
|
| |
Notes:
svn path=/head/; revision=6677
|
| |
|
|
|
|
|
|
|
|
| |
in an (unlikely) border case (maxgroups==1 and the user is on
an /etc/group line for the same group and that group only ...).
Now this case is dealt with as before ...
Notes:
svn path=/head/; revision=6536
|
| |
|
|
|
|
|
| |
result of being a member of some group in both /etc/group and YP).
Notes:
svn path=/head/; revision=6530
|
| |
|
|
|
|
|
| |
all over the place.
Notes:
svn path=/head/; revision=6227
|
| |
|
|
| |
Notes:
svn path=/head/; revision=6203
|