| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- getnetgrent.c: address some NIS compatibility problems. We really need
to use the netgroup.byuser and netgroup.byhost maps to speed up innetgr()
when using NIS. Also, change the NIS interaction in the following way:
If /etc/netgroup does not exist or is empty (or contains only the
NIS '+' token), we now use NIS exclusively. This lets us use the
'reverse netgroup' maps and is more or less the behavior of other
platforms.
If /etc/netgroup exists and contains local netgroup data (but no '+').
we use only lthe local stuff and ignore NIS.
If /etc/netgroup exists and contains both local data and the '+',
we use the local data nd the netgroup map as a single combined
database (which, unfortunately, can be slow when the netgroup
database is large). This is what we have been doing up until now.
Head off a potential NULL pointer dereference in the old innetgr()
matching code.
Also fix the way the NIS netgroup map is incorporated into things:
adding the '+' is supposed to make it seem as though the netgroup
database is 'inserted' wherever the '+' is placed. We didn't quite
do it that way before.
(The NetBSD people apparently use a real, honest-to-gosh, netgroup.db
database that works just like the password database. This is
actually a neat idea since netgroups is the sort of thing that
can really benefit from having multi-key search capability,
particularly since reverse lookups require more than a trivial
amount of processing. Should we do something like this too?)
- netgroup.5: document all this stuff.
- rcmd.c: some sleuthing with some test programs linked with my own
version of innetgr() has revealed that SunOS always passes the NIS
domain name to innetgr() in the 'domain' argument. We might as well
do the same (if YP is defined).
- ether_addr.c: also fix the NIS interaction so that placing the
'+' token in the /etc/ethers file makes it seem like the NIS
ethers data is 'inserted' at that point. (Chances are nobody will
notice the effect of this change, which is just te way I like it. :)
Notes:
svn path=/head/; revision=9978
|
|
|
|
| |
Notes:
svn path=/head/; revision=9975
|
|
|
|
|
|
|
|
|
|
| |
specified in the top level Makefiles.
Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
Notes:
svn path=/head/; revision=9970
|
|
|
|
|
|
|
| |
Print the right thing, do the right thing. Back to you, Satoshi!
Notes:
svn path=/head/; revision=9953
|
|
|
|
| |
Notes:
svn path=/head/; revision=9951
|
|
|
|
|
|
|
|
|
|
| |
>Number: 656
>Category: docs
>Synopsis: -v is not fully documented in portmap.8
Submitted by: Mike Grupenhoff <kashmir@umiacs.umd.edu>
Notes:
svn path=/head/; revision=9948
|
|
|
|
| |
Notes:
svn path=/head/; revision=9937
|
|
|
|
| |
Notes:
svn path=/head/; revision=9895
|
|
|
|
|
|
|
| |
Suggested by: ache
Notes:
svn path=/head/; revision=9894
|
|
|
|
|
|
|
|
|
|
|
|
| |
flag. The getopt handling in here is actually pretty bogus (not Phil's
fault - it's original sin) but the general approach is working so I'm not
going to break it. Some small tweaks of my own to add error checking to what
was originally submitted. Strange how nobody noticed that the flag was
documented but completely missing from the code before! [jkh].
Submitted by: Phil Taylor <phil@zipmail.co.uk>
Notes:
svn path=/head/; revision=9874
|
|
|
|
|
|
|
|
| |
as it was supposed to. PKG_PATH more sorely needed than ever now..
Hmmmm.
Notes:
svn path=/head/; revision=9838
|
|
|
|
|
|
|
| |
This should restore functionality to the pkg_install suite.
Notes:
svn path=/head/; revision=9837
|
|
|
|
|
|
|
|
|
|
| |
interface set at 57600 baud, and I found out the hard way that lpd doesn't
know about speeds greater than 38400, even though <sys/ttydev.h> also
permits 57600 and 115200 baud. Fix this by adding B57600 and B115200 to the
'bauds' table. (The Apple printer worked properly once I did this, BTW. :)
Notes:
svn path=/head/; revision=9821
|
|
|
|
| |
Notes:
svn path=/head/; revision=9808
|
|
|
|
| |
Notes:
svn path=/head/; revision=9807
|
|
|
|
| |
Notes:
svn path=/head/; revision=9806
|
|
|
|
| |
Notes:
svn path=/head/; revision=9797
|
|
|
|
|
|
|
|
|
|
| |
FTP_PASSIVE_MODE. It would be really nice if we could standardise on
this name so that all tools (like ncftp) that offer passive/active
ftp selection would work seamlessly with one user environment variable
setting.
Notes:
svn path=/head/; revision=9789
|
|
|
|
| |
Notes:
svn path=/head/; revision=9788
|
|
|
|
|
|
|
|
| |
FreeBSD source tree) and switch to the internal ftp routines developed
by Poul-Henning and used in sysinstall.
Notes:
svn path=/head/; revision=9787
|
|
|
|
|
|
|
| |
o Nuke dependence on libftp - it's about to die!
Notes:
svn path=/head/; revision=9786
|
|
|
|
| |
Notes:
svn path=/head/; revision=9784
|
|
|
|
|
|
|
|
|
| |
Running there you got any kind of strange errors from tar caused
by treating directories as tar files!
Fix it by adding new isfile(name) (check for reg. files) to simple fexists(name) calls.
Notes:
svn path=/head/; revision=9782
|
|
|
|
|
|
|
|
|
|
|
|
| |
pkg_manage silently dumps core, pkg_info claims about them to
stderr, which makes very difficult to find what directory cause it via
tons of pkg_info -a output. I found solution which covers both variants,
now pkg_info claims about missing files to stdout among valid output
with ERROR: prefix. It heals pkg_manage to not dump core and makes
easy to find errors in pkg_info -a output by simple /ERROR 'more' command.
Notes:
svn path=/head/; revision=9781
|
|
|
|
|
|
|
|
| |
Submitted by: Thomas Gellekum <thomas@ghpc8.ihf.rwth-aachen.de>
Obtained from:
Notes:
svn path=/head/; revision=9743
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use daemon() to daemonify ourselves
- the 'Usage' printf() was missing an argument
- remove declaration of rindex and #include <string.h> instead
bootparam.c:
- get rid of local declarations of YP functions and include headers
from /usr/include/rpcsvc instead.
Notes:
svn path=/head/; revision=9718
|
|
|
|
|
|
|
| |
specified in the top level Makefiles.
Notes:
svn path=/head/; revision=9701
|
|
|
|
|
|
|
|
|
|
| |
Nuke potential for mkdir'ing /usr/lib.
Don't move the the target to a backup file before installing it. This will
defeat `install -C'.
Notes:
svn path=/head/; revision=9699
|
|
|
|
|
|
|
| |
used to hold gzipped man pages.
Notes:
svn path=/head/; revision=9695
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
level ourself. We failed for unreadable directories. E.g.,
`mtree -d -f /etc/mtree/BSD.usr.dist -p /usr' run by `nobody' was
confused after it couldn't descend into /usr/games/hide. It looked
for /usr/include and subsequent directories in /usr/games.
Don't search for `extra' files when the spec depth is less than the
fts level. The spec depth isn't incremented for leaf nodes because
that would give a NULL level pointer and make it inconvenient to go
back to the parent level. Leaf nodes are built for directories that
are empty in the spec. Since they are empty in the spec, all files
in them are extra. The search looked for files one spec level
too high, so for `mtree -d -f /etc/mtree/BSD.usr.dist -p /usr',
obj/sbin matched ./sbin and wasn't considered extra, so it was
descended into and lots of bogus extra things in it were found.
This was harmful for `mtree -U' (as reported in pr623) and worse
for `mtree -r'.
Use rmdir(), not unlink(), to remove `extra' directories. unlink()
succeeds for root but unlinking directories normally damages the
file system.
Report `fts_errno' instead of `errno' when the former applies.
Notes:
svn path=/head/; revision=9675
|
|
|
|
| |
Notes:
svn path=/head/; revision=9674
|
|
|
|
|
|
|
| |
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
Notes:
svn path=/head/; revision=9649
|
|
|
|
|
|
|
|
| |
timeout occurse, close PR 612
Submitted by: Bill Fenner <fenner@parc.xerox.com>
Notes:
svn path=/head/; revision=9648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE.
Document old tty states TS_ASLEEP and TS_TTSTOP more completely.
Document old tty states TS_ASYNC and TS_TBLOCK.
Document not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP.
Don't document nonexistent state TS_HUPCL.
Document the current line disciplines instead of prehistoric ones.
Notes:
svn path=/head/; revision=9621
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
won't get reported. The pcvt, cx and iitty drivers aren't supported.
Report new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE,
TS_CAR_OFLOW, TS_CTS_OFLOW, TS_DSR_OFLOW and TS_ZOMBIE if they are
defined.
Report old tty states TS_WOPEN and TS_ASLEEP only if they are defined.
Report not so old tty states TS_CAN_BYPASS_L_RINT and TS_SNOOP only
if they are defined (instead of if __FreeBSD__ is defined).
Notes:
svn path=/head/; revision=9620
|
|
|
|
|
|
|
| |
Submitted by: Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
Notes:
svn path=/head/; revision=9614
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-S domainname,server1,server2,server3,...
The -S flag allows the system administrator to lock ypbind to a
particular domain and group of NIS servers. Up to ten servers can
be specified. There must not be any spaces between the commas in
the domain/server specification. This option is used to insure that
that the system binds only to one domain and only to one of the
specified servers, which is useful for systems that are both NIS
servers and NIS clients: it provides a way to restrict what ma-
chines the system can bind to without the need for specifying the
-ypset or -ypsetme options, which are often considered to be secu-
rity holes. The specified servers must have valid entries in the
local /etc/hosts file. IP addresses may be specified in place of
hostnames. If ypbind can't make sense ouf of the arguments, it will
ignore the -S flag and continue running normally.
Note that ypbind will consider the domainname specified with the -S
flag to be the system default domain.
(According to what Garrett showed me, OSF/1 actually only allows 4 servers
to be specified. Ten seemed to be a bit more reasonable to me.)
Suggested by: G. Wollman
Idea lifted from: OSF/1
Notes:
svn path=/head/; revision=9600
|
|
|
|
| |
Notes:
svn path=/head/; revision=9577
|
|
|
|
| |
Notes:
svn path=/head/; revision=9574
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is performed by using a line similar to:
controller scbus0 at ahc0 bus 1
to wire scbus0 to the second bus on an adaptec 2742T controller.
Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
Notes:
svn path=/head/; revision=9571
|
|
|
|
|
|
|
|
|
|
| |
is writeable (by the real uid). if it is, lpr assumes that the file
can be unlinked. lpr does not check for directories with S_ISVTX set
Reviewed by: dima
Notes:
svn path=/head/; revision=9568
|
|
|
|
|
|
|
| |
${DESTDIR}.
Notes:
svn path=/head/; revision=9562
|
|
|
|
| |
Notes:
svn path=/head/; revision=9561
|
|
|
|
|
|
|
|
|
| |
Reviewed by:
Submitted by: Kenji Tomita
Obtained from:
Notes:
svn path=/head/; revision=9560
|
|
|
|
|
|
|
|
| |
children are reaped and make sure to block SIGCHLD delivery during handler
execution when installing SIGCHLD handler with sigaction().
Notes:
svn path=/head/; revision=9532
|
|
|
|
|
|
|
| |
Submitted by: gordon@sheaky.lonestar.org
Notes:
svn path=/head/; revision=9526
|
|
|
|
| |
Notes:
svn path=/head/; revision=9520
|
|
|
|
|
|
|
| |
Noticed by: Faried Nawaz <fn@pain.csrv.uidaho.edu>
Notes:
svn path=/head/; revision=9519
|
|
|
|
| |
Notes:
svn path=/head/; revision=9496
|
|
|
|
| |
Notes:
svn path=/head/; revision=9495
|