summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't attempt to create the base directory when -d is specified.Xin LI2011-06-151-0/+1272
| | | | MFC after: 1 month
* - Commit work from libprocstat project. These patches add support for runtimeStanislav Sedov2011-05-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | file and processes information retrieval from the running kernel via sysctl in the form of new library, libprocstat. The library also supports KVM backend for analyzing memory crash dumps. Both procstat(1) and fstat(1) utilities have been modified to take advantage of the library (as the bonus point the fstat(1) utility no longer need superuser privileges to operate), and the procstat(1) utility is now able to display information from memory dumps as well. The newly introduced fuser(1) utility also uses this library and able to operate via sysctl and kvm backends. The library is by no means complete (e.g. KVM backend is missing vnode name resolution routines, and there're no manpages for the library itself) so I plan to improve it further. I'm commiting it so it will get wider exposure and review. We won't be able to MFC this work as it relies on changes in HEAD, which was introduced some time ago, that break kernel ABI. OTOH we may be able to merge the library with KVM backend if we really need it there. Discussed with: rwatson
* Don't duplicate define the stdint types.David E. O'Brien2011-05-051-10/+1
|
* Add support for IEE/IEC (and now also SI) power of two notions ofXin LI2011-04-121-0/+236
| | | | | | | | | | prefixes (Ki, Mi, Gi...) for humanize_number(3). Note that applications has to pass HN_IEC_PREFIXES to use this feature for backward compatibility reasons. Reviewed by: arundel MFC after: 2 weeks
* Merge svn+ssh://svn.freebsd.org/base/head@219553Marcel Moolenaar2011-03-120-0/+0
|\
| * Stop hard-coding default directory mode as 0777.Jung-uk Kim2011-03-084-9/+9
| |
| * expand_number() needs uint64_t, declare it here if not already declared.Pawel Jakub Dawidek2011-03-061-0/+5
| | | | | | | | MFC after: 3 days
| * Add two new system calls, setloginclass(2) and getloginclass(2). This makesEdward Tomasz Napierala2011-03-051-1/+2
| | | | | | | | | | | | | | | | | | it possible for the kernel to track login class the process is assigned to, which is required for RCTL. This change also make setusercontext(3) call setloginclass(2) and makes it possible to retrieve current login class using id(1). Reviewed by: kib (as part of a larger patch)
* | Merge svn+ssh://svn.freebsd.org/base/head@218816Marcel Moolenaar2011-02-180-0/+0
|\|
| * Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home.Jung-uk Kim2011-02-041-5/+5
| | | | | | | | | | | | | | | | | | | | When the basehome does not exist, it creates all intermediate directories as required, which is logically equivalent to mkdir(1) with -m and -p options. However, it modifies all intermediate directories, not just the final home directory unlike mkdir. This problem was introduced in two revisions, i.e., r1.59 (SVN r167919) and r1.60 (SVN r168044). MFC after: 1 month
| * Remove the advertising clause from UCB copyrighted files in usr.bin. ThisJoel Dahl2010-12-112-8/+0
| | | | | | | | | | | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* | Merge svn+ssh://svn.freebsd.org/base/head@214309Marcel Moolenaar2010-10-260-0/+0
|\|
| * mdoc: drop redundant .Pp and .LP callsUlrich Spörlein2010-10-081-4/+0
| | | | | | | | They have no effect when coming in pairs, or before .Bl/.Bd
| * Revert the unrelated patch crept in the previous commit.Jung-uk Kim2010-10-051-5/+5
| |
| * Prefer pmap_unmapbios() over pmap_unmapdev(). The binary does not changeJung-uk Kim2010-10-051-5/+5
| | | | | | | | after this because pmap_unmapbios() is a macro for pmap_unmapdev() on amd64.
| * Old patch I had lying around: clean up and use stpcpy(3) instead ofDag-Erling Smørgrav2010-08-161-27/+34
| | | | | | | | sprintf(3).
* | Merge svn+ssh://svn.freebsd.org/base/head@211344Marcel Moolenaar2010-08-150-0/+0
|\|
| * Simplify expand_number() by combining the (unrolled) loop with theDag-Erling Smørgrav2010-08-141-1/+1
| | | | | | | | | | | | | | switch. Since expand_number() does not accept negative numbers, switch from int64_t to uint64_t; this makes it easier to check for overflow. MFC after: 3 weeks
* | Merge svn+ssh://svn.freebsd.org/base/head@208557Marcel Moolenaar2010-05-260-0/+0
|\|
| * mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to theUlrich Spörlein2010-05-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | bottom of the manpages and order them consistently. GNU groff doesn't care about the ordering, and doesn't even mention CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put them. Found by: mdocml lint run Reviewed by: ru
| * mdoc: remove stray andUlrich Spörlein2010-05-111-1/+0
| | | | | | | | | | Found via: mdocml Reviewed by: brueffer
* | Merge svn+ssh://svn.freebsd.org/base/head@207793Marcel Moolenaar2010-05-080-0/+0
|\|
| * Final update to current version of head in preparation for reintegration.Kirk McKusick2010-05-061-0/+2
| |\
| | * Restore historical behaviour of only executing chflags on files that exist.Ed Maste2010-05-041-0/+2
| | | | | | | | | | | | | | | This eliminates cosmetic errors of the form "chflags: ...: No such file or directory" during an installworld to an empty destination.
| * | Update to current version of head.Kirk McKusick2010-04-281-1/+1
| |\|
| * | IFH@204581Dag-Erling Smørgrav2010-03-048-28/+46
| |\ \
| * | | Add and document the quota_convert function which converts between theKirk McKusick2009-12-281-0/+1
| | | | | | | | | | | | | | | | old 32-bit and the new 64-bit formats.
| * | | Add and document new quoat_on and quota_off functions.Kirk McKusick2009-11-161-1/+3
| | | |
| * | | Add quota_maxid which returns the maximum user (or group) identifierKirk McKusick2009-10-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | in an associated quotafile. Needed by repquota. Bug fix in quota_read.
| * | | Further extend the quotafile API.Dag-Erling Smørgrav2009-09-261-1/+4
| | | |
| * | | Merge from headDag-Erling Smørgrav2009-09-173-18/+27
| |\ \ \
| * \ \ \ Merge from head up to r188941 (last revision before the USB stack switch)Dag-Erling Smørgrav2009-09-170-0/+0
| |\ \ \ \
| * | | | | Update the quotafile library to manage both active quotas via theKirk McKusick2009-02-141-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quotactl(2) interface and inactive quotas by accessing the quota files directly. Update the edquota program to use this new interface as proof of concept.
| * | | | | Make hasquota thread safe.Kirk McKusick2009-02-131-1/+1
| | | | | |
| * | | | | Move hasquota() function to libutil.Kirk McKusick2009-02-131-0/+2
| | | | | |
| * | | | | WIPDag-Erling Smørgrav2009-01-301-0/+9
| | | | | |
| * | | | | integrate from head@185615Dag-Erling Smørgrav2008-12-042-86/+108
| |\ \ \ \ \
| * \ \ \ \ \ MFH (r184638): build at WARNS level 6Dag-Erling Smørgrav2008-11-040-0/+0
| |\ \ \ \ \ \
| * | | | | | | MFH (r184633, r184635): build at WARNS level 6Dag-Erling Smørgrav2008-11-041-4/+5
| | | | | | | |
| * | | | | | | Committed to wrong branch.Dag-Erling Smørgrav2008-11-041-5/+4
| | | | | | | |
| * | | | | | | Avoid assigning a const char * to a char *.Dag-Erling Smørgrav2008-11-041-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 weeks
* | | | | | | | Merge svn+ssh://svn.freebsd.org/base/head@205454Marcel Moolenaar2010-03-220-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
* / | | | | | | Create the altix project branch. The altix project will add supportMarcel Moolenaar2010-03-1048-12981/+0
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
* | | | | | / Let the afterinstall target ignore failures from running chflags. ThisScott Long2010-03-041-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allows it to work over NFS, and puts it back into conformance with other 'schg' utlitilties in the system. Reviewed by: ed
* | | | | | Fix a few whitespace issues and comment typos that I found while readingJoel Dahl2010-01-141-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | through this file.
* | | | | | The group field is called `gid', not `group'.Ed Schouten2010-01-141-1/+1
| | | | | |
* | | | | | Remove login(3), logout(3) and logwtmp(3) from libutil.Ed Schouten2010-01-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions only apply to utmp(5). They cannot be kept intact when moving towards utmpx. The login(3) function would break, because its argument is an utmp structure. The logout(3) and logwtmp(3) functions cannot be used, since they provide a functionality which partially overlaps. Increment SHLIB_MAJOR to 9 to indicate the removal.
* | | | | | The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | |
* | | | | | Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Also add some missing $FreeBSD$ to keep svn happy.
* | | | | | Remove a dead store.Sean Farley2009-12-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 5 days