dim
489adb600f
Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
...
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.
MFC after: 1 week
2012-02-07 09:27:07 +00:00
hrs
1ec0cafe1b
Revert changes in r228790. It prevented the ypserv daemon from working with
...
with multiple socktypes.
2012-01-17 20:39:33 +00:00
uqs
415a3a9b96
Spelling fixes for usr.sbin/
2011-12-30 10:58:14 +00:00
eadler
f61fc6d6f2
- Fix style(9) bug I introduced in the last commit
...
Approved by: jhb
2011-12-21 20:47:24 +00:00
eadler
3c01e31040
- Remove extraneous null ptr deref checks
...
- Fix memory leak
Submitted by: Slono Slono <slonoman2011@yandex.ru>
Approved by: jhb
MFC after: 1 week
2011-12-21 20:27:41 +00:00
glebius
a159358a0a
Protect NIS server with madvise(2) since this daemon is required
...
for succesful authentication of users.
2011-10-25 10:33:26 +00:00
kuriyama
af386cd786
Add missing argument for -h in usage.
2011-06-20 15:22:47 +00:00
joel
224caf9be0
Spelling fixes.
2010-08-01 09:37:36 +00:00
hrs
d1ed694608
Simply ignore unsupported protocols listed in /etc/netconfig and
...
abort only if no transport is available. This fixes
(INET && !INET6) and (!INET && INET6) case, for example.
2010-01-20 16:50:13 +00:00
hrs
479b4bd55d
Try a privileged port for binding whenever possible because the
...
ypbind daemon requires the ypserv daemon is running on a
privileged port.
Reported by: Andrzej Tobola
2010-01-20 09:29:07 +00:00
ed
073cafdd42
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
antoine
bfd388c026
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
...
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.
PR: 137213
Submitted by: Eygene Ryabinkin (initial version)
MFC after: 1 month
2009-12-28 22:56:30 +00:00
marck
bb1ee4e3ed
To remove a server, one should use double backslash, and half of them
...
are eaten by shell. Fix this.
MFC after: 2 weeks
2009-12-27 16:00:17 +00:00
hrs
f1fc4c2cca
- Fix main() to use two separated sockets for the two transports
...
when "-P port" is specified. It invoked svc{tcp,udp}_create()
for only one of the two allocated sockets, and prevented the
TCP socket from binding to as the result.
- Use TI-RPC functions and handle sockets in a
transport-independent way. At this moment only AF_INET ("udp"
and "tcp") is supported because others need rewrites of ACL
handling and yp clients.
- Add '-h addr' to specify addresses to bind to.
- Convert _msgout() to use variable argument lists and remove
asprintf() for error strings.
- Remove register storage class specifier.
Discussed with: kuriyama
MFC after: 1 week
2009-12-13 15:19:01 +00:00
kuriyama
e3200f9d91
- In ypproc_all_2_svc(), yp_fork() is called only when !debug case.
...
So _exit() in the bottom of this function should be called with the
same case.
2009-12-04 14:12:37 +00:00
kuriyama
05883b79c2
- Replace magic number with YPOLDVERS macro (which may be missed in
...
r14262).
2009-12-04 14:08:57 +00:00
brian
804f2f79ee
Support shadow.byname and shadow.byuid maps, protecting them by
...
insisting on privileged port access.
Include /var/yp/Makefile.local if it exists and suggest using
it to override /var/yp/Makefile behaviour.
Approved by: re (kib)
MFC after: 3 weeks
2009-06-25 16:15:39 +00:00
matteo
a53bf17cee
Add -P <port> option to allow binding to a specific port.
...
PR: bin/109494
Submitted by: mtm
MFC after: 1 week
2008-02-03 17:39:37 +00:00
maxim
f39caee822
o Re-arrange parentheses and fix a conition logic for !do_dns case.
...
PR: bin/98625
MFC after: 1 month
2006-06-09 14:01:07 +00:00
maxim
e0f73680ab
o Add /etc/shells to a source files list.
2006-06-08 14:49:38 +00:00
maxim
fd2485a7f0
o NIS clients ask for "shells" map not "shells.list".
...
PR: kern/86693
Submitted by: Victor Sudakov
MFC after: 1 month
2006-06-08 09:12:07 +00:00
cperciva
4e501fd8a3
Enable inadvertantly disabled "securenet" access controls in ypserv. [1]
...
Correct a bug in the handling of backslash characters in smbfs which can
allow an attacker to escape from a chroot(2). [2]
Security: FreeBSD-SA-06:15.ypserv [1]
Security: FreeBSD-SA-06:16.smbfs [2]
2006-05-31 22:32:22 +00:00
ru
f3ca421d95
- Let make(1) track dependencies and regen netid map when needed.
...
- Add missing dependency for netid.byname.
2006-04-13 13:03:35 +00:00
charnier
5dd180da44
Remove unused variables. int -> size_t for lenghts.
2005-05-20 13:04:10 +00:00
ume
effe5f40cc
add targets for ipnodes.byname and ipnodes.byaddr which carries
...
IPv6 addresses. these targets are off by default, and these
are built when there is /var/yp/ipnodes.
2005-05-02 11:19:52 +00:00
ume
a77586e165
fix typo in previos commit.
2005-05-02 09:42:59 +00:00
ume
359f287f51
teach IPv6 to async DNS resolver in ypserv:
...
- query AAAA RR on ipnodes.byname query.
- query .ip6.arpa. on ipnodes.byaddr query.
2005-05-02 09:34:07 +00:00
stefanf
8655a91f58
Use socklen_t where appropriate.
2005-03-11 14:17:12 +00:00
ru
6b6b8c04f6
Expand contractions.
2005-02-13 23:45:54 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
c05985f13f
Sort sections.
2005-01-18 20:02:45 +00:00
ru
c5d8886d04
Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in
...
the implementation of the following feature in revision 1.4:
- Install Makefile.yp as /var/yp/Makefile.dist and link it to
/var/yp/Makefile only if /var/yp/Makefile doesn't already exist.
Suggested by Peter Wemm.
The actual code was only symlinking when no /var/yp/Makefile.dist
existed, i.e., never.
2004-10-18 21:42:15 +00:00
ru
6651f20e0d
Sort SEE ALSO references (in dictionary order, ignoring case).
2004-07-04 20:55:50 +00:00
ru
6294018a20
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
ru
bb7ece5c43
Eliminated two dozens of superfluous cats and two r-cats (sorry, Jordan).
...
Suggested by: Dan Nelson
2003-06-13 16:13:28 +00:00
obrien
7293a24a2b
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
obrien
a920d12f89
style.Makefile(5)
2003-04-04 17:49:21 +00:00
robert
8e2e191c15
Add a target for the creation of a /etc/shells map and add it to
...
the maps which are built by default.
2003-03-21 11:44:03 +00:00
mtm
1a8e59f0ba
ypserv(8) is now started from rc.d
...
Approved by: markm (mentor)(implicit)
2003-01-23 06:03:30 +00:00
schweikh
86f7487fb6
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
...
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
schweikh
fec6546e12
english(4) police.
2002-12-27 12:15:40 +00:00
ru
041d1287e8
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
markm
f49cc792fa
The resolver library does a pretty acceptable set of domain
...
suffix attempts before failing. No need to try again by hand,
particularly when it fills your log with failures because
localhost.example.com..example.com fails to resolve. Also improve the
log message that helped find this error.
There is still (maybe) an uninitialised pointer problem here, but in a
month of testing I haven't triggered it.
2002-09-20 20:09:27 +00:00
ru
ce971426f4
mdoc(7) police: Removed redundant .Ns calls.
2002-08-13 16:07:28 +00:00
ru
a8adf98c82
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
ru
cd7c90d38f
s/${INSTALL} -c/${INSTALL} ${COPY}/
2002-07-18 12:07:49 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00
des
b1c4fde84a
Fix a boatload of format errors and constness violations.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 15:41:15 +00:00
des
e48f76df85
Spell void * as void * rather than caddr_t. This is complicated by the
...
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
2002-04-28 15:18:50 +00:00
markm
bc43ca23fc
Sort out the documentation WRT TCP_WRAPPERs, which is now enabled.
2002-02-06 20:48:03 +00:00