summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-265-4/+6
| | | | - MAN[1-9] -> MAN.
* Decapitalise first letter of warning message.sobomax2001-03-261-1/+1
|
* In which(1) mode resolve "/../", "/./" in arguments and PLIST contents. Thissobomax2001-03-261-40/+67
| | | | | | is done without realpath() to avoid symlinks resolving. Submitted by: sobomax, Garrett Rooney <rooneg@electricjellyfish.net>
* Don't call daemon() and setup our signal handlers until after we checkalfred2001-03-251-41/+34
| | | | | | | | | | | | | and do the unregister/reregister work. Don't call syslog in the unregister/reregister code as we haven't called openlog() yet. Be a more conservative about accepting errno values from socket(2), only EPROTONOSUPPORT means that the kernel isn't supporting it something like INET6. The other possible errnos would be returned if there was a mistake in the socket(2) call so remove them from the list of "acceptable" return values.
* Disable ipv6 when getnetconfigent("udp6"/"tcp6") fails.alfred2001-03-251-1/+2
| | | | Submitted by: Martin Blapp <mb@imp.ch>
* Issue a ``quit'' after other ppp commands given on the command line andbrian2001-03-251-0/+5
| | | | | | | | then wait for the connection to be closed by the peer. This means that commands such as ``pppctl ... show links'' will display the correct output again (rather than truncating it depending on how much data arrived in the last packet).
* Replace pmap_unset() with rpcb_unset() which fixes the unregistering.alfred2001-03-251-2/+2
| | | | Submitted by: Martin Blapp <mb@imp.ch>
* Deal with lack of IPv6 support gracefully.alfred2001-03-251-4/+8
| | | | Submitted by: Martin Blapp <mb@imp.ch>
* If we're adding an interface address that is already one of the interface'sbrian2001-03-251-33/+52
| | | | | | | | | aliases with the same netmask and destination, don't remove it and then re-add exactly the same thing. This means that static (non-sticky) routes that use the interface address (or destination address) as a destination will not suddenly evaporate when IPCP comes up (not unless the negotiated IPs have changed anyway).
* Add new categories science and ukrainian.asami2001-03-241-0/+2
|
* Revert the warning elimination in rev 1.292. It breaks the Alpha build with:obrien2001-03-242-2/+2
| | | | | /usr/src/usr.sbin/sysinstall/menus.c:1323: initializer element is not computable at load time /usr/src/usr.sbin/sysinstall/menus.c:1323: (near initialization for `MenuNetworking.items[9].aux')
* Preserve ssh directory across upgrades.jkh2001-03-241-0/+1
| | | | | Submitted by: Edwin Groothuis <edwin@mavetju.org> PR: conf/25633
* afterstep doesn't need an explicit xterm started for it either.jkh2001-03-242-2/+2
|
* s/dependant/dependentjkh2001-03-241-2/+2
| | | | Submitted by: rwatson
* revert rev 1.3: restore MAN1 directive to unbreak worldalfred2001-03-241-0/+1
|
* - Add which(1)-like functionality into pkg_info;sobomax2001-03-2312-23/+283
| | | | | | | | | - fix a harmless bug in match_installed() function introduced in my last commit; - uniformely reorder includes across files. Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> Not objected by: jkh, -ports
* Fixed style bugs (use normal formatting for assignment, and don't overridebde2001-03-231-2/+1
| | | | the correct default for MAN1).
* Quote PPP_CONFDIR in CFLAGSbrian2001-03-231-1/+1
|
* Change _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile timebrian2001-03-234-5/+11
|
* Make wizard mode get out of raw mode first before going interactive withjkh2001-03-232-0/+4
| | | | | | | the user. Submitted by: Cyrille Lefevre <clefevre@citeweb.net> PR: bin/24061
* Fix a bug with setting the soft updates option from a script.jkh2001-03-234-10/+8
| | | | | | Eliminate an old warning brought about by insufficient foresight when creating the Menu structure. Have I ever mentioned that sysinstall really needs to be rewritten?
* Switch from lynx to "links" as the default doc browser.jkh2001-03-237-16/+17
| | | | Submitted by: jim
* Add missing specification of the `-s' option to the usage line.iedowse2001-03-221-1/+1
| | | | | | PR: bin/26004 Submitted by: ushida@msa.biglobe.ne.jp Reviewed by: rnordier
* Remove struct cmessage from sys/socket.h and reintroduce the privatealfred2001-03-221-0/+5
| | | | | | definitions. Requested by: wollman
* Unbreak world by removing struct cmessage already define in sys/socket.hache2001-03-221-5/+0
|
* Include docs with "default X dist" so XF86Config won't complain about it.jkh2001-03-221-1/+1
|
* Don't install Kerberos stuff if user has selected minimal or "user"jkh2001-03-221-2/+2
| | | | modes.
* Hopefully fix some of the bugs in passing credentials over UNIX ↵alfred2001-03-226-92/+15
| | | | | | | | | | | | domain sockets. Make struct cmessage visible from socket.h (about 4 places were defining it for themselves which wasn't good) Make __rpc_get_local_uid() useable and give it prototype that's visible. Fix some issues with printing out usernames from rpcbind and keyserv.
* o Remove BINMODE=0550 -- no need to restrict execution rights as therwatson2001-03-222-3/+1
| | | | | | authorization check is on /dev/{,k}mem. o Update man page to reflect requirement that gid kmem privileges must be held, not root. (submitted by: peter)
* o Strip BINMODE from Makefile. Installing watch with 0500 provides norwatson2001-03-221-1/+0
| | | | | | added security benefit, as it doesn't provide extra privilege. Protection against inappropriate snooping is done by protecting /dev/snp* properly.
* 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.
* Use %c for expire/change datesache2001-03-211-2/+2
|
* Use nl_langinfo instead of %Efache2001-03-211-2/+7
|
* Properly fix the world breakage.ru2001-03-216-32/+21
| | | | | | | Unpollute the Makefile.inc's abuse of SRCS variable, and move the generation of header files into include/ subdirecory. Reviewed by: buildworld
* Add SRCS= mk-mdmap.c and SRCS= wire-test.c to fix the worldkeichii2001-03-212-0/+2
| | | | | | | breakage. amd has its own SRCS= that prevents bsd.*.mk to function correctly. Submitted by: bmah Reviewed by: peter
* Set the default manual section for usr.sbin/ to 8.ru2001-03-20174-215/+81
|
* Set the default manual section for sbin/ to 8.ru2001-03-203-3/+0
|
* mdoc(7) police: fixes to the previous revision:ru2001-03-201-2/+8
| | | | | | - fixed bad formatting - avoid using German - removed hard sentence break
* Included in the updated version of tirpc's sm_inter.x Sun added thealfred2001-03-201-23/+2
| | | | | | | | | | | | SM_NOTIFY procedure. Remove our hand-coded one as it was causing world breakage for worlds compiled with NOSHARED=yes because the static linker is a bit less forgiving (or not as broken as) our dynamic linker. Add $FreeBSD$ while I'm here. Pointed out by: bde
* Allow LQR periods of 1 second and FSM retry periods of 1 second. This allows usroger2001-03-191-2/+2
| | | | | | | | to run PPP over Radiocontact T-Link Radio Modems which run best when something is transmitted at least every 1.5 seconds. Tested by: Jennifer Clark <jen@telepresence.strath.ac.uk> Approved by: Brian
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-1946-2248/+8282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update obsolete history info.ru2001-03-191-1/+2
|
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-192-13/+13
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* o Rename "namespace" argument to "attrnamespace" as namespace is a C++rwatson2001-03-194-13/+13
| | | | | | | reserved word. Submitted by: jkh Obtained from: TrustedBSD Project
* properly document the loadConfig optionjkh2001-03-182-4/+4
|
* Correct the arguments to the extattrct()l call so that the enable andtmm2001-03-171-3/+3
| | | | | | disable commands work as documented. Approved by: rwatson
* Unrevert something which shouldn't have been reverted in the previous revert.phk2001-03-171-0/+1
| | | | (Yes, I'm going to bed now to get some much needed sleep...)
* Backout my previous commit, it appearantly doesn't work for asynchronousphk2001-03-173-55/+8
| | | | messages.
* Stop cron from shouting in the syslog. Use setproctitle() instead, sincepeter2001-03-171-6/+1
| | | | | | | smashing argv[0] doesn't have the intended effect of changing the ps(1) output these days. PR: 25850
* Fix a number of warnings that come up when compiling with BDECFLAGS.gad2001-03-161-7/+7
|
OpenPOWER on IntegriCloud