summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Use the standardized CHAR_BIT constant instead of NBBY in userland.mike2002-09-251-2/+3
|
* Get howmany() macro from <sys/param.h>, instead of depending on itsmike2002-09-241-1/+1
| | | | existence in <sys/types.h>.
* Use POSIX-style sort syntax in exampleache2002-09-241-1/+1
|
* If the peer gives us 0.0.0.0 as his IP number, NAK it rather than acceptingbrian2002-09-231-1/+2
| | | | | | | | | | | it as being in range. set ifaddr 1.2.3.4/0 5.6.7.8/0 no longer allows 0.0.0.0 as a valid IP. Reported/tested by: Bohdan Horst <nexus@hoth.amu.edu.pl> MFC after: 3 days
* Do not add a start offset time to the track duration time.maxim2002-09-231-1/+2
| | | | | Submitted by: Dmitry Afanasiev, <KOT@MATPOCKuH.SPb.Ru> MFC after: 2 weeks
* Introduce to the !program specification a capability similar to the onedcs2002-09-232-2/+25
| | | | | | | | | | | | | | | | | | | | | | that already exists for hosts: being able to specify a section that applies to every program *except* the one in question. The normal syntax for program specification is still valid. For the new capability, one uses: !-program Since there is no way to specify a program beginning with a dash in the old syntax, as it would be interpreted as the case above, the following alternative syntax to the original capability is provided: !+program This shouldn't introduce incompatibilities with any syslogd configuration in production because -stable's syslogd does not support a dash anywhere in the program specification. MFC after: 2 weeks
* Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the structwollman2002-09-213-6/+6
| | | | | | | | | | | | | | | | hack, thereby allowing future extensions to the structure (e.g., for extended attributes) without rebreaking the ABI. FTSENT now contains a pointer to the parent stream, which fts_compar() can then take advantage of, avoiding the undefined behavior previously warned about. As a consequence of this change, the prototype of the comparison function passed to fts_open() has changed to reflect the required amount of constness for its use. All callers in the tree are updated to use the correct prototype. Comparison functions can now make use of the new parent pointer to access the new stream-specific private data pointer, which is intended to assist creation of reentrant library routines which use fts(3) internally. Not objected to in spirit by: -arch
* The resolver library does a pretty acceptable set of domainmarkm2002-09-201-19/+2
| | | | | | | | | | 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.
* Kerberised NFS has never (as far as I can tell) worked outsidemarkm2002-09-201-12/+2
| | | | | | BSD 4.4. Nuke mention of Kerberos from the documentation here. MFC after: 1 week
* o Don't print devices that aren't attached unless run with the newlyimp2002-09-202-5/+13
| | | | | | | | minted -v flag. o Print devices that don't return a name as 'unknown' in -v mode. # Yea! Now I wont think I have 10 different ISA network adapters in my # laptop.
* Pppctl seems to compile again nowjulian2002-09-191-1/+1
|
* Use consistent terminology in the usage message, the man pagejdp2002-09-172-10/+10
| | | | | | | | synopsis, and the man page description ("selector" vs. "sel" and "addr" vs. "reg"). Fix the usage message and man page synopsis to show that the "value" argument is not optional.
* Don't depend on <sys/types.h> pollution in <sys/fcntl.h>.mike2002-09-172-0/+2
|
* Check for FD_SET overruns.nectar2002-09-171-0/+8
| | | | Approved by: peter
* Only include parent directory Makefile.inc if it exists. Now you canjhb2002-09-171-1/+3
| | | | cvs co acpi and build acpi utilities w/o needing the usr.sbin Makefile.inc.
* Add i386 to the list of architectures that libc_r is broken on. Thispeter2002-09-171-1/+1
| | | | | effectively removes pppctl from the build for now. It only compiles on alpha now (now ironic).
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-172-32/+0
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* xids are u_int32_ts, which are not necessarily the same size as time_ts orfenner2002-09-161-2/+2
| | | | unsigned longs. This fixes "ypbind -S ... -m" on sparc64.
* Add sleep state explanation.takawata2002-09-161-4/+10
| | | | Requested by: murray at Cafe in Tokyo.
* Add "-t" to useage message and comment. (The -t option was addeddwmalone2002-09-151-3/+3
| | | | | | | | independently by Robert, but also proposed in the PR below). PR: 38126 Submitted by: Josh Elsasser <jre@vineyard.net> MFC after: 1 month
* Some BIOSs are using MTRR values that are only documented under NDAdwmalone2002-09-152-1/+3
| | | | | | | | | | | | | | | | | | | to control the mapping of things like the ACPI and APM into memory. The problem is that starting X changes these values, so if something was using the bits of BIOS mapped into memory (say ACPI or APM), then next time they access this memory the machine would hang. This patch refuse to change MTRR values it doesn't understand, unless a new "force" option is given. This means X doesn't change them by accident but someone can override that if they really want to. PR: 28418 Tested by: Christopher Masto <chris@netmonger.net>, David Bushong <david@bushong.net>, Santos <casd@myrealbox.com> MFC after: 1 week
* Update to use *.tbz suffix, also update example URL.bmah2002-09-101-3/+3
| | | | | | | | While I'm here, fix a gramm-o. PR: 42576 Submitted by: Jeff Ito <jeffi@rcn.com> MFC after: 1 day
* Sigh, finally activate pkgwrap.c.sobomax2002-09-091-1/+1
| | | | | Big pointy hat to: sobomax (who apparently needs some sleep) Submitted by: walt <wa1ter@hotmail.com>
* Fix minor off-by-one error.bmah2002-09-091-1/+1
| | | | Submitted by: jhb
* Make pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASEbmah2002-09-091-0/+2
| | | | | | | packages. Pointed out by: obrien Reviewed by: jhb
* Introduce notion of the package tools revision and allow to wrap all toolssobomax2002-09-095-18/+131
| | | | | | | | | | | | | | | | | | included into pkg_install according to the content of /var/db/pkg_install.conf file, which specifies version and alternative location of the tools. Format of the said file is very simple: one line which specifies revision of the alternative version of the tools and their location separated by space, i.e.: 20030102 /usr/local/sbin This would allow bsd.port.mk to install and use up to date version of tools on older system from ports. Also add new `-P' flag to pkg_info, which causes it to report currently installed version of package tools. Discussed with: will
* Add tcl81 that was missing.knu2002-09-091-0/+1
|
* Back out previous commit. I was a bit overzealous: the fd_set size isnectar2002-09-091-2/+0
| | | | calculated dynamically here.
* Check for FD_SET overrun.nectar2002-09-091-0/+2
|
* Check for FD_SET overruns.nectar2002-09-094-0/+10
| | | | Obtained from: NetBSD
* Kill debugging line occasionally slipped into rev.1.3.sobomax2002-09-091-2/+0
| | | | Submitted by: reg
* Vastly decrease amount of memory comsumed in the case when we have to readsobomax2002-09-092-4/+11
| | | | | | ports/INDEX, by allocating eactly amount of memory necessary for storing each particular entry, insdead of 4K per entry (more than 7000 entries - go figure). Memory consumption went down to some 500K from some 30M.
* Use --fast-read mode to extract metadata from package file. Since metadatasobomax2002-09-091-2/+16
| | | | | | | | files are located at the very beginning of the package, this patch in conjuction with latest tar(1) --fast-mode fix greatly speeds up pkg_info(1) operation on package files. MFC after: 1 week
* Allow edquota(8) to be used for setting up quotas non-interactively (add asobomax2002-09-072-23/+149
| | | | | | | new -e option for that). Feature requested by: Alex V. Belinsky <fozzy@kievweb.net.ua> MFC after: 1 month
* Make syslogd -u treat "*" as all levels by explictly setting pri_cmpdwmalone2002-09-042-6/+24
| | | | | | | | | | | for it. While I'm here, add a the ability to say "!level" in a way which should be compatible with Linux's syslogd. PR: 28935 No objections: audit MFC after: 2 weeks
* When printing the wait status, break it down into a signal and a exit status.dwmalone2002-09-041-4/+10
| | | | | | PR: 41912 Submitted by: Aaron Smith <aaron@mutex.org> MFC after: 2 weeks
* Swap sense of no_v[46]bind variables and rename as v[46]bind_ok -dwmalone2002-09-041-19/+19
| | | | | | | this avoids some double negatives which are a bit difficult to parse. Always tread v[46]bind{,_ok} as booleans.
* Fix parsing of unix domain entries after addition of IPv6 RPC support.dwmalone2002-09-041-38/+39
| | | | | PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* When installing package from a local file assume that all subsequentsobomax2002-09-031-2/+6
| | | | | | | | autoinstalled dependencies will have the same extension, not just ".tbz". Pointy hat to: obrien X-MFC after: -1 day
* Don't initialise policy, v4bind and v6bind where the variables aredwmalone2002-09-021-3/+10
| | | | | | | | | | | declared - it was bad style and caused a bug. v[46]bind need to be reset whenever we go to the "more:" label. Jean-Luc and I came up with this patch independently, so it had better be right! PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* tpc -> tcp in an error message.dwmalone2002-09-021-2/+2
| | | | | PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* Clear up a few warnings (unused variable, rpc versions are usigned so use %u,dwmalone2002-09-021-8/+7
| | | | | | rename a parameter to avoid shadowing a global). MFC after: 1 month
* Switch over to the new EA manipulation utilities.phk2002-09-027-467/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Unbreak -DNOINET6brian2002-09-021-0/+2
| | | | | Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> MFC after: 1 day
* Don't treat unknown commands as fatal errors: they are probably justkris2002-08-311-2/+3
| | | | | | | the signature of out-of-date pkg_tools and newer packages. Reviewed by: jkh MFC after: 3 days
* Add the new userland tool for manipulating extended attributes.phk2002-08-303-0/+369
| | | | | | | | | | This will replace the existing getextattr(8) and setextattr(8) with a single binary responding to the names getextattr, setextattr, rmextattr and lsextattr. This program is not yet connected to the build. Sponsored by: DARPA and NAI Labs.
* Correctly handle ifr.ifr_flags/ifr.ifr_flagshigh like ifconfig(8) does.sobomax2002-08-292-5/+9
| | | | MFC after: 1 day
* - made ppp compliant to RFC 2472 (based on a patch from anotherbrian2002-08-295-49/+176
| | | | | | | | | contributor) - support ipv6cpretry and ipv6cpretries, which are IPv6 versions of ipcpretry and ipcpretries. - improve handling of IPv6 link-local addresses Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
* Include the correct file (stdarg.h) and use va_list rather than _BSD_VA_LIST_brian2002-08-2724-6/+26
| | | | Suggested by: mike
* After dialling using -n, add the ability to wait for the first responsehm2002-08-272-8/+76
| | | | | | from the dialler, usually indicating success or failure. Add -v to add verbose responses in addition to return values indication success or failure. Update man page.
OpenPOWER on IntegriCloud