summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ypserv
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: Removed redundant .Ns calls.ru2002-08-131-1/+1
|
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-291-2/+2
| | | | | | for a long time now. Approved by: bde
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-2/+2
|
* The .Nm utilitycharnier2002-07-142-16/+24
|
* Fix a boatload of format errors and constness violations.des2002-05-082-36/+40
| | | | Sponsored by: DARPA, NAI Labs
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-282-28/+24
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Sort out the documentation WRT TCP_WRAPPERs, which is now enabled.markm2002-02-061-12/+2
|
* Fix an inconsistency between what FreeBSD NIS and AMD think themarkm2002-02-061-3/+3
| | | | AMD map name should be.
* Enable TCP_WRAPPERs for the NIS server. The protection afforded ismarkm2002-02-061-1/+4
| | | | not massive, but usable.
* ANSIfy and remove some dead code.des2002-02-067-140/+93
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-066-53/+53
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* yp(4) -> yp(8).ru2002-01-142-2/+2
| | | | PR: docs/30797
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-2/+2
|
* can not -> cannotsheldonh2001-08-081-1/+1
|
* sprintf -> snprintfkris2001-07-231-4/+4
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-5/+4
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-2/+2
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Fix the type of the NULL arg to execl()brian2001-07-091-2/+2
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).ru2001-07-061-2/+2
|
* Mark some functions as __printflike()kris2001-07-052-1/+4
| | | | MFC After: 1 week
* The aliases file now lives in /etc/mail/.gshapiro2001-05-151-1/+1
| | | | | PR: misc/26648 MFC after: 3 days
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-1/+1
| | | | - MAN[1-9] -> MAN.
* ypserv has intimate knowledge of the server transport handle which iswpaul2001-03-211-17/+4
| | | | | | | | needed to make the asynchronous DNS lookup mechanism work. (It needs to be able to get/set the transaction ID in the trasport handle so it can deliver a delayed UDP response when a reply is received from a DNS server.) With TI-TPC, the transport handle has changed slightly (what used to be an int is now a size_t) so we need to account for this.
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* Fix typo: seperate -> separate.asmodai2001-02-062-2/+2
| | | | Seperate does not exist in the english language.
* Convert from CIRCLEQ to TAILQ.phk2000-12-292-46/+44
|
* Prepare for mdoc(7)NG.ru2000-12-271-0/+1
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-3/+1
|
* mdoc(7) police: do not split author names in the AUTHORS section.ru2000-11-221-0/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-202-5/+5
|
* Use Fx macro wherever possible.ru2000-11-141-2/+2
|
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Don't call syslog() without a format string.kris2000-07-121-2/+2
|
* Further protection against comments in /etc/{passwd,group}brian2000-06-281-4/+6
| | | | | Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> PR: 14269
* Handle comments and empty lines when generating YP passwd and group filesbrian2000-06-151-4/+8
| | | | | PR: 14269 Submitted by: howard@ee.utah.edu
* Fix typo.asmodai2000-06-041-1/+1
| | | | | PR: 18845 Submitted by: Kevin <kevin@ns1.stcp.net>
* Back out the previous change to the queue(3) interface.jake2000-05-262-4/+4
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-232-4/+4
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Remove a bogus include.asmodai2000-04-291-1/+0
|
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-5/+10
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-012-34/+68
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Fix various man pages to stop abusing the .Bx macro to generatempp2000-01-232-16/+20
| | | | the string "FreeBSD". Use the .Fx macro instead.
* $Id$ -> $FreeBSD$peter1999-08-2813-13/+13
|
* Modify yp_mkdb so that it only checks for bogus '+' and '-' characterswpaul1999-08-221-7/+7
| | | | | | | | | | | in source input if the -f flag is used, and modify Makefile.yp to only use -f for the passwd, master.passwd and group maps. These should be the only ones for which the + and - characters have special meaning that make it important for us to avoid letting them into any of the map databases. In some cases (namely the automounter maps) we have to allow at least the - character through in order to create the map properly. This closes PR #8699.
* Various man page cleanup:mpp1999-08-151-2/+2
| | | | | | | | | | - Sort xrefs. - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
* Fix typo (missing double quote)n_hibma1999-06-241-2/+2
|
* Close PR #10971: flush the database cache after forking in ypproc_all_2_svc()wpaul1999-04-301-0/+8
| | | | so that parent and child don't share DB handles.
* Close PR #10970: exit at the end of ypproc_all_2_svc() instead of returning.wpaul1999-04-301-3/+10
| | | | | | This really fixes the condition where a child creates children of its own. I'm leaving the previous sanity tests in though, since they shouldn't hurt, and will give an indication if this ever happens again.
OpenPOWER on IntegriCloud