summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* add debug msgsam2006-04-201-0/+3
|
* Add -u and -U which functions like the jail(8) that allowdelphij2006-04-193-6/+80
| | | | | | | commands to be executed under a different credential. PR: bin/95777 Submitted by: clsung
* Add the ability to log to an arbitrary udp port as well as thejulian2006-04-172-6/+43
| | | | | standard syslog port. This allows syslog to easily export lines of interest to an external logging system.
* Update a couple of comments relating to RFCs.dwmalone2006-04-171-2/+5
|
* Back out a Makefile change that accidently snook in.dwmalone2006-04-171-1/+1
|
* Port 37 (RFC 738) style times are supposed to be a 32 bit time sincedwmalone2006-04-172-7/+7
| | | | | | | | | | | | 1900 in network byte order. Use a uint32_t to calculate and send the time, so that we don't need to know how big ints or longs are. I used uint32_t instead of int in the patch, on the off chance someone uses our inetd source on a system that doesnt 32 bit ints. PR: 95290 Submitted by: Bruce Becker <hostmaster@whois.gts.net> MFC after: 2 weeks
* Add INDEX-7 and remove trailing spaces.krion2006-04-171-3/+5
| | | | MFC after: 5 days
* Use bzip2(1) by default to compress package tarball onkrion2006-04-171-1/+6
| | | | | | | __FreeBSD_version >= 500039. Submitted by: Alex Lyashkov <umka@sevcity.net> MFC after: 5 days
* remove some unnecessary perror callssam2006-04-171-2/+0
| | | | | Noticed by: Jouni Malinen MFC after: 2 weeks
* o De-register local vars.maxim2006-04-161-6/+4
|
* o Trim EOL whitespaces and tabs, replace eight w/s by tabs.maxim2006-04-161-20/+20
| | | | No functional changes.
* o Implement Solaris-like -x flag: show extended disk statistics.maxim2006-04-162-15/+136
| | | | | | | | | | o Implement Solaris-like -z flag: omit lines for devices with no activity. o iostat.8: describe -x and -z flags, Xr devstat(3), touch .Dd. PR: mostly bin/68840, with style changes; bin/73327 Submitted by: Dan Nelson, Peter Schuller Obtained from: NetBSD (a part of man page) MFC after: 1 month
* o Do not mangle current session user login name with jail -u|-U.maxim2006-04-161-1/+1
| | | | | | PR: bin/94730 Submitted by: Frank Behrens MFC after: 1 month
* Fix copy-and-pasto in comment.jkim2006-04-141-1/+1
|
* Fix minimal installation check. 'X' was not displayed when it was selected.jkim2006-04-142-2/+2
| | | | | Reported by: Ian J. Hart <ianjhart at ntlworld dot com> Pieter de Goeje <pieter at degoeje dot nl>
* - Let make(1) track dependencies and regen netid map when needed.ru2006-04-131-8/+1
| | | | - Add missing dependency for netid.byname.
* Add missing library dependencies.ru2006-04-132-2/+2
|
* libc_r is no longer provided, and on alpha and sparc64, libthrru2006-04-121-2/+2
| | | | | is (sym)linked to libpthread. Account for this change and check for MK_LIBTHR instead of MK_LIBC_R where appropriate.
* adapt PacketGetAdapterNames to 0.4.8 calling conventionsam2006-04-121-6/+6
| | | | | | PR: bin/94735 Submitted by: Scot Hetzel <swhetzel@gmail.com> Requested by: scottl
* When printing a map, print the number of samples recorded by each gmon.out file.jkoshy2006-04-051-5/+18
| | | | MFC after: 1 week
* - Teach pmcstat(8) to log over the network; the -O option nowjkoshy2006-04-023-24/+107
| | | | | | | | | | | takes a host:port specification. - Update the manual page and add an example showing how log over the network using pmcstat(8) and nc(1). Document the current inability to process logs in cross-platform manner. - Have pmcstat_open_log() call err(3) directly in case of an error; this simplifies error handling in its caller. MFC after: 1 week
* Currently, if writing out a log entry fails, we unlink that log entry from ourcsjp2006-03-301-5/+12
| | | | | | | | | | | | internal list of logfiles. So if writev(2) fails for potentially transient errors like ENOSPC, syslogd requires a restart, even if the filesystem has purged. This change allows syslogd to ignore ENOSPC space errors, so that when the filesystem is cleaned up, syslogd will automatically start logging again without requiring the reset. This makes syslogd(8) a bit more reliable. MFC after: 1 week
* Teach sysinstall about mfi(4).scottl2006-03-292-0/+2
|
* MFP4: Support for profiling dynamically loaded objects.jkoshy2006-03-264-447/+986
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel changes: Inform hwpmc of executable objects brought into the system by kldload() and mmap(), and of their removal by kldunload() and munmap(). A helper function linker_hwpmc_list_objects() has been added to "sys/kern/kern_linker.c" and is used by hwpmc to retrieve the list of currently loaded kernel modules. The unused `MAPPINGCHANGE' event has been deprecated in favour of separate `MAP_IN' and `MAP_OUT' events; this change reduces space wastage in the log. Bump the hwpmc's ABI version to "2.0.00". Teach hwpmc(4) to handle the map change callbacks. Change the default per-cpu sample buffer size to hold 32 samples (up from 16). Increment __FreeBSD_version. libpmc(3) changes: Update libpmc(3) to deal with the new events in the log file; bring the pmclog(3) manual page in sync with the code. pmcstat(8) changes: Introduce new options to pmcstat(8): "-r" (root fs path), "-M" (mapfile name), "-q"/"-v" (verbosity control). Option "-k" now takes a kernel directory as its argument but will also work with the older invocation syntax. Rework string handling in pmcstat(8) to use an opaque type for interned strings. Clean up ELF parsing code and add support for tracking dynamic object mappings reported by a v2.0.00 hwpmc(4). Report statistics at the end of a log conversion run depending on the requested verbosity level. Reviewed by: jhb, dds (kernel parts of an earlier patch) Tested by: gallatin (earlier patch)
* fixed a potential memory leaksuz2006-03-241-1/+3
| | | | | Obtained from: KAME MFC after: 1 day
* Only set the size of /usr to whatever-is-left is whatever-is-left iscperciva2006-03-242-0/+2
| | | | | | | | greater than the size we autosized. Without this fix, systems with drives under 10GB can end up with very small /usr partitions... Broken since: January 2002 Tripped over by: simon
* avoid heap overrunsuz2006-03-231-1/+1
| | | | | Obtained from: KAME MFC after: 1 day
* Fix version number when the feature was added.hrs2006-03-231-1/+1
| | | | | Spotted by: ceri MFC after: 1 day
* Properly map mouse buttonsemax2006-03-211-1/+4
| | | | | | PR: bin/94577 Submitted by: Krzysztof Jedruczyk < beaker at hot dot pl > MFC after: 3 days
* Folded WITH_HESIOD_SUPPORT into WITH_HESIOD.ru2006-03-212-2/+2
|
* Extend coverage of the MK_IPX build option to the following:ru2006-03-201-1/+9
| | | | | | | | | | | | | | | | | | | | | - <netipx> headers [1] - IPX library (libipx) - IPX support in ifconfig(8) - IPXrouted(8) - new MK_NCP option New MK_NCP build option controls: - <netncp> and <fs/nwfs> headers - NCP library (libncp) - ncplist(1) and ncplogin(1) - mount_nwfs(8) - ncp and nwfs kernel modules User knobs: WITHOUT_IPX, WITHOUT_IPX_SUPPORT, WITHOUT_NCP. [1] <netsmb/netbios.h> unconditionally uses <netipx> headers so they are still installed. This needs to be dealt with.
* Reimplementation of world/kernel build options. For details, see:ru2006-03-1724-65/+112
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Properly convert L2CAP PSM values in sockaddr_l2cap to LE16 byte order.emax2006-03-163-4/+4
| | | | | Noticed by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days
* - Use jp.pc98 as default keymap for pc98.nyan2006-03-162-2/+10
| | | | - Remove an extra argument.
* Do `mount_devfs' when starting a jail.jcamou2006-03-161-0/+1
| | | | | | | PR: docs/86044 Noticed by: Dan Langille <dan@langille.org> Reviewed by: Jose Biskofski <jbiskofski@grmims.com> Approved by: trhodes (mentor)
* If a keymap file is not found for the selected country then default to the morethompsa2006-03-152-4/+10
| | | | | | | common USA ISO rather than index 0 (Belgian). Reviewed by: jhb MFC after: 1 day
* If we don't want HTML docs, we might still want manpages.ru2006-03-152-3/+2
| | | | If we don't want manpages, we might still want HTML docs.
* Style: NO_MAN doesn't need any value.ru2006-03-153-5/+5
|
* Close descriptor in retrieve_x509_marker function.krion2006-03-152-10/+16
| | | | | PR: bin/71594 Submitted by: Dan Lukes <dan@obluda.cz>
* Teach bthidd(8) to reload its config when SIGHUP is received.emax2006-03-141-3/+27
| | | | | Submitted by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days
* Fix typoemax2006-03-131-1/+1
| | | | | Submitted by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days
* Silence some warnings by defining configuration preprocessor symbols.harti2006-03-131-1/+1
|
* use the same test as release/Makefile to select WITH_SMPsam2006-03-112-4/+6
| | | | Reviewed by: ru
* Disable an SMP detection on pc98.nyan2006-03-104-4/+4
|
* Remove including of libc sources. All the required functionsdeischen2006-03-101-8/+2
| | | | | are exported by libc with prototypes in our standard headers. I guess at one time this was necessary, but not any longer.
* missed a case that needs WITH_SMPsam2006-03-092-0/+4
| | | | Noticed by: kensmith
* Rever the previous changes. It turns out that it perfectly correctgad2006-03-093-3/+3
| | | | | | | for a makefile to set 'NO_MAN=' when the makefile is for a program that will not create a man page. Based on reaction from: ru bde
* Add -F option to not fail on already installed packages.phk2006-03-094-5/+13
| | | | Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
* Switch these makefiles to use 'MAN=' to indicate they will not generategad2006-03-083-3/+3
| | | | | | | a man page, instead of 'NO_MAN='. 'NO_MAN=' is something users would set, not something a makefile should be using. Based on comments by: des
* Revamp base system packaging of kernels to enable up/smp selectionsam2006-03-0813-15/+1166
| | | | | | | | | | | | | | | | | | | | | | | | | | at runtime and to support distributing additional kernels: o remove kernel from the base tarball o add new kernel tarballs o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP config file is present o add sysinstall support for multiple kernels o update sysinstall to probe for the number of cpus on a system and auto-select smp/up kernel accordingly o add a post-kernels install hook to fixup /boot/kernel o add -ldevinfo to boot crunch for sysinstall's cpu probing logic Notes: 1. On HEAD this code is not currently used because GENERIC kernels include SMP. This work is mainly intended for RELENG_6 where the GENERIC kernel is UP. If HEAD changes to match then just enable WITH_SMP in sysinstall/Makefile. 2. The cpu probing support is done with acpi and MPTable; this means some systems will require work for auto-detection to work. 3. The handling of /boot/kernel may need to be revisited; for now we rename one kernel at the last moment (SMP if installed, otherwise GENERIC). There are other, possibly better, approaches. Lots of help from ru, emaste, scottl, and jhb.
OpenPOWER on IntegriCloud