summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove a useless cast.cognet2008-08-021-1/+1
| | | | Spotted out by: stefanf
* Add "IDS" command to freebsd-update. This was present in the originalcperciva2008-08-022-2/+264
| | | | | | | | | | version of freebsd-update, but I took it out when I rewrote everything and added FreeBSD Update to the base system because I didn't think it was useful. It turns out that quite a few people liked it and wanted it back. Requested by: Royce Williams + others MFC after: 2 weeks
* Char is unsigned on arm, so is not suitable to store the return value ofcognet2008-08-011-2/+2
| | | | | | | getopt(). Use an int instead. Submitted by: Matthew Luckie MFC after: 3 days
* Fix empty mailto (-m "") handling: somehow I missed all checks but the first,marck2008-08-011-1/+3
| | | | | | | | | hence output would be written to the wrong filehandle. Submitted by: reg Approved by: yar (implicit) MFC after: ASAP Pointy hat to: marck
* The original adduser/rmuser scripts in Perl used to modify the PATHjhb2008-07-301-2/+3
| | | | | | | | | | | setting. When the scripts were converted to Bourne shell, this was removed. The adduser script was changed to use an explicit path for the pw(8) command so that /usr/sbin did not have to be in the user's PATH. The rmuser script continued to assume that /usr/sbin was in the user's path, however. This fixes the rmuser script to use an explicit path for pw(8) similar to adduser. MFC after: 2 weeks
* Allow kernel config files to include files other than those in the CWD,obrien2008-07-282-0/+12
| | | | using unquoted paths.
* Change arc4random to arc4random_uniform since modulo is not power of 2,ache2008-07-261-1/+1
| | | | | | as OpenBSD does. Obtained from: OpenBSD
* Change 2 arc4random modulo operations to arc4random_uniform() asache2008-07-261-2/+2
| | | | | | OpenBSD does, since modulo is not power of 2. Obtained from: OpenBSD
* Switch to using the setfib syscall instead of a syscall(175,...)julian2008-07-241-1/+1
|
* remove reference for unexisting ndisapi(9)weongyo2008-07-231-2/+1
|
* Remove sade(8) on the following platforms:marcel2008-07-191-1/+4
| | | | | o arm, mips & powerpc: libdisk is non-functional. o ia64: libdisk is insufficient.
* Don't set PACKAGE_BUILDING while installing packages.flz2008-07-171-1/+0
| | | | | | Submitted by: erwin Discussed on: http://lists.freebsd.org/pipermail/freebsd-ports/2008-June/049074.html MFC after: 1 week
* Before updating the password database, the pw(8) utility first performs ajhb2008-07-171-1/+2
| | | | | | | | sanity check by invoking "pwd_mkdb -C". However, if this failed it silently returned success. Fix this so it fails the update operation instead. MFC after: 1 week
* Remove OTTYDISC, NETLDISC and NTTYDISC definitions.ed2008-07-161-4/+0
| | | | | | | | | | | | | | | | When I ported most applications away from <sgtty.h>, I noticed none of them were actually using these definitions. I kept them in place, because I didn't want to touch tools like pstat(8) and stty(1). In preparation for the MPSAFE TTY layer, remove these definitions. This doesn't have any impact with respect to binary compatibility (see tty_conf.c). We couldn now add an #error to <sys/ioctl_compat.h> when included outside the kernel. Unfortunately, kdump's mkioctls includes this file unconditionally. Approved by: philip (mentor)
* Invoke err() with a format string rather than directly with a passedrwatson2008-07-151-1/+1
| | | | | | | | command line argument. Submitted by: Alfredo Ortega <alfredo at coresecurity dot com> Thanks to: Core Security Technologies MFC after: 3 days
* - Enhance volume handlinggahr2008-07-142-10/+38
| | | | | | PR: 125054 Submitted by: gahr Approved by: cperciva
* Allow comment to be placed at the end of a configuration line.sobomax2008-07-092-0/+25
| | | | MFC after: 2 weeks
* Enable the -n option of pkg_create(1).keramida2008-07-082-1/+5
| | | | | | | | | The changes to make the option work are already in place, but I missed the patch hunk that adds it to the getopt() option-handling loop. Pointy hat: keramida Approved by: flz MFC after: 1 week
* Remove the arl(4) driver. It is reported to not work on 6.x or laterjhb2008-07-044-608/+0
| | | | | even though the driver hasn't changed since 4.x (last known working release).
* Drag this code kicking and screaming into the twenty-first century.des2008-07-024-174/+101
|
* - install the example wpa_supplicant.conf file to the share/examples/etcdanger2008-07-012-1/+6
| | | | | | | | | | directory [1] - add the FILES section to the wpa_supplicant.conf.5 file, so that people will be able to detect the example configuration file easier. [2] PR: docs/121821 [2] Approved by: brooks [1] MFC after: 3 days
* - more mark-up fixesdanger2008-07-011-8/+6
| | | | Submitted by: ru
* Fix a regression: attach process PMCs to the process created whenjkoshy2008-07-011-2/+2
| | | | a command line is specified.
* - add some missing wordsdanger2008-06-301-25/+44
| | | | | | | | | - we don't have ne(4), replace it with re(4) - fix markup - bump date Submitted by: ru MFC after: 3 days
* Add -m option to cron(8), overriding default mail recipient for cron mails,marck2008-06-294-17/+36
| | | | | | | | | | | unless explicitly provided by MAILTO= line in crontab. This feature can be useful in massive hosting environment, where most users do not care about autogenerated mails. Setting recipient to null string disables default mails at all. Approved by: yar MFC after: 4 weeks
* Document messages printed in verbose mode.jkoshy2008-06-291-2/+36
| | | | Requested by: Fabien Thomas <fabien.thomas at netasq dot com>
* Revice the way the CTF conversion is done per object. Avoid creating a secondjb2008-06-291-1/+1
| | | | | | shell (which was the problem with the original implementation) and avoid letting make see an empty definition (which was the problem with the current implementation).
* Modify the DoParseCommand() to work on (const char *) instead of justmtm2008-06-281-4/+4
| | | | | | | (char *). This is a slightly simplified version of the patch in the PR. It fixes compilitation issues with -O3. PR: misc/124385
* - markup fixesdanger2008-06-271-15/+68
| | | | | | | | | | - advise to use rc script to SIGHUP mountd - add information about possiblity of using /prefix network notation [1] PR: docs/124373 Reviewed by: jhb Obtained from: NetBSD [1] MFC after: 3 days
* Re-implement the client side of rpc.lockd in the kernel. This implementationdfr2008-06-262-45/+92
| | | | | | | | | | | | provides the correct semantics for flock(2) style locks which are used by the lockf(1) command line tool and the pidfile(3) library. It also implements recovery from server restarts and ensures that dirty cache blocks are written to the server before obtaining locks (allowing multiple clients to use file locking to safely share data). Sponsored by: Isilon Systems PR: 94256 MFC after: 2 weeks
* Fix 6-year old cut&paste error. The # could be escaped with '\', notsobomax2008-06-261-2/+2
| | | | | | with '\\'. MFC after: 2 weeks
* Add an abbreviation for adaptive mode, and document all the abreviations.obrien2008-06-222-1/+2
|
* handle .INF files for PCMCIA correctly that specify multiple entries inweongyo2008-06-181-7/+13
| | | | | | their [Manufacturer] sections and prevent a case that NDIS_PCI_DEV_TABLE definition was always emitted that it's only emitted once if a .INF file is for PCI.
* Remove support for RELENG_4 (__FreeBSD_version < 500039).flz2008-06-165-30/+1
| | | | MFC after: 1 day
* Style fix (use naked commands).flz2008-06-161-7/+3
| | | | Reported by: obrien
* - add: Keep dependent packages too if -K is specified.flz2008-06-123-2/+4
| | | | | | | | | - updating: terminating '\n' is not part of the package origin. - bump PKG_INSTALL_VERSION to 20080612. PR: bin/119368 [1], bin/124459 [2] Submitted by: gcooper [1], Beat Gatzi <beat@chruetertee.ch> [2] MFC after: 3 days
* Document the AUTO_UPGRADE (-U) knob for .mergemasterrcdougb2008-06-111-0/+3
| | | | | Submitted by: mezz No Cookie For: gordon :)
* Remove sicontrol(8)'s "ttystat".ed2008-06-092-67/+1
| | | | | | | | | | | | | | | | | In the FreeBSD base system, there are only two utilities that use struct tty, namely pstat and sicontrol. The sicontrol utility calls the TCSI_TTY ioctl(), which copies struct tty back to userspace. sicontrol should not have this functionality. The same data is already provided by pstat. If we really want to be able to export these numbers through a file descriptor to userspace, we can export struct xtty, which should provide a better abstraction. The ttystat option was only used as a debugging aid. This makes sicontrol compile in the mpsafetty branch. Reviewed by: peter Approved by: philip (mentor)
* Change the CTF conversion makefile code to use a new line to avoidjb2008-06-091-1/+1
| | | | | | | | spawning another shell. Requested by: Ed Schouten M config/mkmakefile.c
* Add more card state dump routines. Decode more bitfields etc.peter2008-06-062-38/+255
|
* Make ppp use <termios.h>, not <sys/tty.h>.ed2008-06-051-1/+1
| | | | | | | | ppp's physical.c is filled with calls to termios. For some reason, it includes <sys/tty.h>, not <termios.h>. Even though this works with the current version of FreeBSD, we'd better follow the standards. Approved by: philip (mentor)
* Add a newline after usage.mlaier2008-06-041-1/+1
|
* - Replace rcsid with __FBSDID.jkim2008-06-032-241/+261
| | | | | | - Remove paths.h and embed it in the source. - Remove stale alpha support. - Clean up compiler warnings and fix style(9) bugs.
* Exclude .svn directories from generated distfile.flz2008-06-031-1/+2
|
* Fix a crash when Arctic Ocean is selected.jkim2008-06-021-3/+2
| | | | MFC after: 1 week
* Add a missing call to init_nsm().dfr2008-06-021-0/+1
| | | | MFC after: 1 week
* getopt returns an int, not a char. Make sure that we store theimp2008-06-021-1/+1
| | | | | | | | | | variable in an int to avoid casting to an unsigned value which causes the comparison with -1 to fail. PR: 123807 Submitted by: Matthew Luckie Reviewed by: keramida@ MFC after: 1 week
* Use INSERT_OBJECT_INT_LINK_INDEX macro instead of TAILQ_INSERT_TAIL whenphilip2008-06-011-1/+1
| | | | | | | | | | | filling the table of ALTQ queues retrieved from the kernel. It is possible for the kernel to return the queues not by pa.altq.qid order. When this happens, pf_snmp would only partially fill its table. PR: bin/120974 Submitted by: Mykola Dzham <i -at- levsha.org.ua> MFC after: 3 days
* Remove one of my dead email addresses from a copyright message.peter2008-05-311-1/+1
|
* - Add long options to pkg_install.flz2008-05-3013-100/+206
| | | | | - Remove check for '-?' as it's not listed in authorized options. - Bump PKG_INSTALL_VERSION to 20080530.
OpenPOWER on IntegriCloud