summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup after previous commit.brueffer2007-05-251-3/+5
|
* Add a new option for ppp.conf: rad_port_id. It allows tonovel2007-05-254-12/+80
| | | | | | | | | | | | | | | change the way of what ppp submits to the RADIUS server as NAS-Port-Id. Possible options are: the PID of the process owning the corresponding interface, tun(4) interface number, interface index (as it would get returned by if_nametoindex(3)), or it's possible to keep the default behavior. Check the ppp(8) manual page for details. PR: bin/112764 Submitted by: novel (myself) Reviewed by: flz Approved by: flz MFC after: 1 month
* Set .PATH before referring to the corresponding sources.dds2007-05-221-2/+2
|
* Increase precision of time values in the process accountingdds2007-05-226-296/+406
| | | | | structure, while maintaining backward compatibility with legacy file and record formats.
* Add new x11-drivers category.flz2007-05-191-0/+1
| | | | | Reminded by: miwi MFC after: 3 days
* o Fix typo: firwalling -> firewalling.maxim2007-05-191-1/+1
| | | | | | PR: docs/112776 Submitted by: asmodai MFC after: 1 week
* Add -U and -P options that allow the specification of the per-userdds2007-05-185-7/+32
| | | | | | and per-process summary file location. These make the program more flexible, and also make it possible to write sane regression tests.
* Tighten IP address check, prevent '..' from being passeddelphij2007-05-171-5/+8
| | | | | | | from the check. Submitted by: Ren Zhen <bg1tpt gmail com> MFC after: 2 weeks
* Fix some problems that affect multiple file inclusion. Bruce foundimp2007-05-173-73/+26
| | | | | | | | | | | | | | this bug and submitted these patches to dunstan@. He sent them to me to test, and I discovered they were needed for the atmel kernel config files. Since we were playing with them in the terminal room after the developer's summit today, I thought I'd go ahead and commit them to allow those folks that now have atmel hardware (thanks Andre) a chance to try it out w/o my help. Since dunstan@ is asleep right now, risk stepping on his toes a little by going ahead and committing this change. Submitted by: dunstan@, bde@ Tested by: bde@
* Handle !INCLUDE_CONFIG_FILE entirely in the kernel. This should make somewkoszek2007-05-161-4/+4
| | | | | | | | developers happy, since it will let them to use old config(8) with newer kernels. Reviewed by: imp Approved by: imp
* Add some missing '${BASEDIR}/'s. Prior to this commit, FreeBSD Updatecperciva2007-05-161-3/+3
| | | | | | | | | operating with the "-b basedir" option would not correctly update files which had flags set or were hardlinked. Submitted by: Karsten Schmidt Pointy hat to: cperciva MFC after: 1 week
* o Re-indent long lines.maxim2007-05-141-6/+6
| | | | Style(9) wisdom from: bde
* Add `accept dns' to rfcomm-server examplepav2007-05-131-0/+1
| | | | | | | PR: docs/111320 Submitted by: James Flemer <jflemer@alum.rpi.edu> No objection: emax MFC after: 1 week
* Bump config(8) version and build requirement for config(8) to 600006. Thiswkoszek2007-05-131-1/+1
| | | | | | | | | | is caused by my latest changes to config(8). You're supposed to install new config(8) in order to prevent yourself from seeing a warning about old version of that tool. You should configure the kernel with a new config(8) then. Oked by: rwatson, cognet (mentor)
* This is loser's commit message:wkoszek2007-05-121-1/+12
| | | | | | | | | | | Remember about tricky cases, where options contain unfriendly characters, from the ANSI-C string point of view ('"' in this case). The x09 build breakage was caused by SC_CUT_SEPCHARS options. I did test this patch number of times; each time unprofessionally and inappropriately. OKed by: cognet (mentor)
* Add ${.CURDIR} before kernconf.tmpl in order to let the build see newlywkoszek2007-05-121-1/+1
| | | | | | added kernconft.tmpl file. Approved by: cognet (mentor)
* Improve INCLUDE_CONFIG_FILE support.wkoszek2007-05-127-90/+389
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change will let us to have full configuration of a running kernel available in sysctl: sysctl -b kern.conftxt The same configuration is also contained within the kernel image. It can be obtained with: config -x <kernelfile> Current functionality lets you to quickly recover kernel configuration, by simply redirecting output from commands presented above and starting kernel build procedure. "include" statements are also honored, which means options and devices from included files are also included. Please note that comments from configuration files are not preserved by default. In order to preserve them, you can use -C flag for config(8). This will bring configuration file and included files literally; however, redirection to a file no longer works directly. This commit was followed by discussion, that took place on freebsd-current@. For more details, look here: http://lists.freebsd.org/pipermail/freebsd-current/2007-March/069994.html http://lists.freebsd.org/pipermail/freebsd-current/2007-May/071844.html Development of this patch took place in Perforce, hierarchy: //depot/user/wkoszek/wkoszek_kconftxt/ Support from: freebsd-current@ (links above) Reviewed by: imp@ Approved by: imp@
* o Fix several style bugs in the previous commit.maxim2007-05-121-7/+15
| | | | Prodded by: bde
* Correct two typospav2007-05-121-2/+2
| | | | | | PR: docs/66771 Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 1 week
* Document /boot/mbr (non-interactive boot block)pav2007-05-121-0/+10
| | | | | | PR: doc/111840 Submitted by: Warren Block <wblock@wonkity.com> MFC after: 1 week
* o Make iostat -Ix work: print per-interval I/O extended statistics.maxim2007-05-121-7/+25
| | | | | | PR: bin/112559 Submitted by: Dan Nelson MFC after: 2 weeks
* Update nologin(5) to match the modern reality of login.conf(5) and PAM.yar2007-05-101-12/+44
|
* o Add "line" device to a list of mixer(8) devices.maxim2007-05-091-1/+1
| | | | | | PR: docs/112520 Submitted by: Pietro Cerutti MFC after: 1 week
* Print provider's ident when in verbose mode.pjd2007-05-061-1/+6
|
* Back out all POSIXified *env() changes.ache2007-05-015-7/+7
| | | | | | | | | Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs.
* Correctly inizialize local/unix transport. I broke it in rev.1.15.matteo2007-05-011-97/+162
| | | | | PR: bin/1122566 MFC after: 1 week
* o I failed to find a suitable explanation why traceroute(8) andmaxim2007-04-301-2/+2
| | | | | | | | | | traceroute6(8) force -w flag (wait time) to be > 1 sec. Make it possible to use 1 sec wait time. PR: bin/110933 Submitted by: Dmitry Marakasov Reviewed by: freebsd-net (silence) MFC after: 1 month
* Preparing for upcoming POSIXed putenv() rewrite:ache2007-04-303-5/+5
| | | | don't allow const as putenv() arg, dup it
* Prepare for upcoming POSIXed putenv() rewrite:ache2007-04-302-2/+2
| | | | don't allow putenv() arg be on the stack, use strdup()
* MFP4: Enhancements to pmcstat(8):jkoshy2007-04-274-69/+184
| | | | | | | | | | - Allow the "-t" option to take a regular expression naming command line processes to attach process PMCs to. - Update the manual page and add an example showing the use of the new functionality. - Update the (c) year on the affected source files.
* must byte swap key rsc for big-endian systemssam2007-04-261-0/+1
| | | | | Obtained from: netbsd MFC after: 1 week
* - HT 2.00b added a new flag to the MSI mapping HT capability to indicatejhb2007-04-251-7/+12
| | | | | | | | | | | that the MSI mapping window is fixed at 0xfee00000 and the capability does not include two more dwords used to program the address. Supporting this mostly results in quieting spurious warnings during boot about non-default MSI mapping windows. - HT 2.00b also added a new HT capability type, so support that in pciconf. MFC after: 3 days Tested by: jmg
* 1)Make it possible for rpcbind(8) to bind TCP listening socket to an IPmatteo2007-04-232-236/+181
| | | | | | | | | | | | other than INADDR_ANY. 2) Add the -6 option to specify "IPv6 only". Glanced at by: bms Requested by: bms [2] PR: bin/84494 [1] Approved by: silence from maintainer (~2 weeks) [1] MFC after: 2 weeks
* MFP4: Enhancements and bug-fixes to pmcstat(8):jkoshy2007-04-223-126/+224
| | | | | | | | | | | | | | | | - The '-c' option now takes a comma-separated list of CPU numbers, or a literal '*' denoting all CPUs in the system. Subsequent system PMCs are allocated on the CPUs so specified. Change the default behaviour to allocate system PMCs on all CPUs, not just CPU 0. Update the manual page and add an example of how to use the new functionality. - Attach PMCs to a (commandline) child process more reliably. This fixes a long standing bug in counting events incurred by short-lived processes.
* Correct a sanity check.jkoshy2007-04-211-1/+1
|
* Unbreak rev 1.7's getopt usage. The -f switch does not take an argument.peter2007-04-191-1/+1
| | | | The stray ':' was from the defunct '-g' group arg.
* s/destory/destroy/ (except for the code in contrib/).pjd2007-04-161-1/+1
|
* Fatal error is only when cannot open any of the given exports files.pjd2007-04-131-2/+9
|
* Bump .Dd for r1.5; fix grammatical problem.ceri2007-04-121-2/+2
|
* Specify the correct way to modify this file, and warn that themtm2007-04-121-1/+18
| | | | | | | user should not depend on the internal variables documented in this man page. MFC After: 2 weeks
* There are a couple of bugs in rev. 1.27:mtm2007-04-121-7/+2
| | | | | | | | | | | | | | | | | | | 1) The man page should describe the code, not the other way around. 2) Internal variables should not be documented or exposed, except in controlled circumstances (i.e. - That's what the -C flag is for). The variable should have been saved to the config file in save_config(). 3) The next available userid doesn't get automatically updated. The end-result is the same (user gets added with the correct uid), but in an interactive session the default uid doesn't get updated in the display. So, o Use the uidstart variable instead of uuid (bug #3) o Actually save the variable to adduser.conf (bug #2) o (bug #1 to be fixed in an upcomming commit to adduser.conf.5) MFC After: 2 weeks
* Errm... I don't see how rev. 1.26 could have possibly worked or been tested.mtm2007-04-121-12/+13
| | | | | | | Fix it for real. Submitted by: Johnny Lee <johnny@bmtk.com> MFC After: 2 weeks
* - Fix compilaton with DUMP_FILELOCK_VERBOSE.kuriyama2007-04-121-8/+8
| | | | | - Use consistent "get_lock_matching_unlock" function name in debuglog().
* Considerably rework the ifmcstat utility.bms2007-04-103-115/+385
| | | | | | | | | | | | | | | * Build with or without INET, INET6, or KVM features. * When built without KVM, the sysctl-based getifmaddrs() function is used as the back-end for the utility. * Reflect the fact that FreeBSD now uses the in_multi refcount as a true refcount. * Style. The utility may now be run without super-user privilege, albeit with a less detailed display, equivalent to that of the soon-to-be-retired netstat -g host-mode output. MFC after: 3 weeks
* Remove __P.bms2007-04-091-7/+7
|
* This FFR is no longer needed in sendmail 8.14gshapiro2007-04-091-1/+1
|
* Fix the output of percentage figures, which mistakenly weredds2007-04-071-9/+12
| | | | | | | the corresponding ratios. PR: bin/111329 MFC after: 10 days
* Bump date.pjd2007-04-051-1/+1
|
* Add security.jail.mount_allowed sysctl, which allows to mount andpjd2007-04-051-0/+10
| | | | | | | | | | | | | | | | | | unmount jail-friendly file systems from within a jail. Precisely it grants PRIV_VFS_MOUNT, PRIV_VFS_UNMOUNT and PRIV_VFS_MOUNT_NONUSER privileges for a jailed super-user. It is turned off by default. A jail-friendly file system is a file system which driver registers itself with VFCF_JAIL flag via VFS_SET(9) API. The lsvfs(1) command can be used to see which file systems are jail-friendly ones. There currently no jail-friendly file systems, ZFS will be the first one. In the future we may consider marking file systems like nullfs as jail-friendly. Reviewed by: rwatson
* Update postfix MTA selection code to point at postfix 2.4 which is thesimon2007-04-051-1/+1
| | | | | | current version. MFC after: 3 days
OpenPOWER on IntegriCloud