| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
string to u_long and back using two functions, flags_to_string and
string_to_flags, which co-existed with 'ls'. As time has progressed
more and more other tools have used these private functions to
manipulate the file flags.
Recently I moved these functions from /usr/src/bin/ls to libutil,
but after some discussion with bde it's been decided that they
really ought to go in libc.
There are two already existing libc functions for manipulating file
modes: setmode and getmode. In keeping with these flags_to_string
has been renamed getflags and string_to_flags to setflags.
The manual page could probably be improved upon ;)
Notes:
svn path=/head/; revision=56692
|
|
|
|
|
|
|
| |
Submitted by: Dan Papasian (bugg_ on irc)
Notes:
svn path=/head/; revision=56420
|
|
|
|
| |
Notes:
svn path=/head/; revision=55829
|
|
|
|
| |
Notes:
svn path=/head/; revision=55762
|
|
|
|
|
|
|
|
|
|
|
| |
. add Xrs to hosts.equiv(5), auth.conf(5), services(5) to some pages
. sort Xrs in SEE ALSO sections
Patches based on PR: docs/15680
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
Notes:
svn path=/head/; revision=55562
|
|
|
|
|
|
|
|
| |
essentially large unsigned ones, and we already print minor
numbers > 255 in hex.
Notes:
svn path=/head/; revision=55514
|
|
|
|
| |
Notes:
svn path=/head/; revision=55476
|
|
|
|
|
|
|
| |
Obtained from: bde
Notes:
svn path=/head/; revision=55302
|
|
|
|
|
|
|
| |
Noticed by: bde
Notes:
svn path=/head/; revision=55301
|
|
|
|
| |
Notes:
svn path=/head/; revision=55271
|
|
|
|
|
|
|
| |
many places nowadays.
Notes:
svn path=/head/; revision=55270
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from the source attributed below. In particular, this removes a goto
inside a switch and replaces those horrendous ATOI macros with
something acceptable.
More clean-ups to come.
PR: bin/14151
Reported by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
Obtained from: NetBSD
Notes:
svn path=/head/; revision=55225
|
|
|
|
|
|
|
|
|
|
|
| |
for example "/bin/[".
Reported by: Vlad Skvortsov <vss@ulstu.ru>
Reported by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Message-Id: 99Dec27.111307est.40321@border.alcanet.com.au
Notes:
svn path=/head/; revision=55179
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
common way of setting the hostname. The man page already mentioned that
the hostname is set by /etc/rc.network, so this just explains where
/etc/rc.network gets the hostname from.
PR: docs/14319
Submitted by: rwatson
Reviewed by: cmc
Notes:
svn path=/head/; revision=54982
|
|
|
|
|
|
|
|
|
| |
a '\0' at the end of a string.
Submitted by: Martin Birgmeier <Martin.Birgmeier@aon.at>
Notes:
svn path=/head/; revision=54948
|
|
|
|
| |
Notes:
svn path=/head/; revision=54943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
respectively, in accordance with SUSv2.
This differs from the approach taken in NetBSD, but provides
less obscure error messages in at least the EISDIR case and
does not take up additional disk space for new binaries.
PR: 13071
PR: 13074
Requested by: James Howard <howardjp@wam.umd.edu>
Notes:
svn path=/head/; revision=54895
|
|
|
|
|
|
|
|
|
| |
PATH=... command
Noted by and fix works for Marcel Moolenaar <marcel@scc.nl>
Notes:
svn path=/head/; revision=54884
|
|
|
|
|
|
|
|
| |
PR: bin/3648
Submitted by: Martin Birgmeier <mbirg@austria.ds.philips.com>
Notes:
svn path=/head/; revision=54827
|
|
|
|
| |
Notes:
svn path=/head/; revision=54679
|
|
|
|
| |
Notes:
svn path=/head/; revision=54643
|
|
|
|
| |
Notes:
svn path=/head/; revision=54631
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Obtained from: parts of human readable code from OpenBSD
Reviewed by: obrien
add POSIX, byte and megabyte block size ouput flags
PR: 13579 (POSIX flag)
Submitted by: Mike Meyer <mwm@phone.net>
Notes:
svn path=/head/; revision=54621
|
|
|
|
|
|
|
|
|
|
| |
the correct (but less aesthetic) way, now. New lesson: correctness
and aestheticity may be mutually exclusive at times.
Brucified by: bde
Notes:
svn path=/head/; revision=54278
|
|
|
|
|
|
|
|
|
|
| |
bfumerola for that pointer!) in GCC complaining about losing a const.
While I'm here, might as well mark in the Makefile that I'm the
${MAINTAINER}. It seems like that's what everyone's doing these days.
Notes:
svn path=/head/; revision=54245
|
|
|
|
|
|
|
|
| |
PR: docs/15265
Submitted by: takamune@avrl.mei.co.jp
Notes:
svn path=/head/; revision=54145
|
|
|
|
|
|
|
| |
discussed on -arch.
Notes:
svn path=/head/; revision=54132
|
|
|
|
|
|
|
| |
Fix a warning.
Notes:
svn path=/head/; revision=53891
|
|
|
|
|
|
|
| |
Fix usage() style bug spotted by BDE.
Notes:
svn path=/head/; revision=53824
|
|
|
|
|
|
|
| |
Reviewed by: obrien
Notes:
svn path=/head/; revision=53819
|
|
|
|
| |
Notes:
svn path=/head/; revision=53780
|
|
|
|
| |
Notes:
svn path=/head/; revision=53507
|
|
|
|
|
|
|
|
|
| |
in that revision as well as things I broke in that revision. A note-
worthy instance of the latter case was the inversion of -E and -V in the
subsection on Commandline Editing.
Notes:
svn path=/head/; revision=53349
|
|
|
|
|
|
|
|
|
|
| |
1.23. This revision should work for long pipes both in
here-documents/backquote and in normal cases.
Fix works for jmz, bde.
Notes:
svn path=/head/; revision=53282
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turn off setgid-kmem for /bin/ps, it's now quite functional without it.
ps no longer needs /dev/*mem or /proc. (It will still use some /proc
files if they are available for -e, but it's not required, so it'll
happily run in a jail or chroot).
The proc stats are now part of eproc (obtained via sysctl) and no longer
needs to beat up the u-page reading code and the problems with that.
This also has the side effect of disabling 'ps -e' for normal users
*EXCEPT* when looking at their own processes. ie: they can see
environments in processes with their uid, enforced by the ownership of
/proc/*/mem. Root can still see them all, as it can open all /proc/*/mem.
Notes:
svn path=/head/; revision=53278
|
|
|
|
|
|
|
| |
Also, fix some indentation that got messed up somehow..
Notes:
svn path=/head/; revision=53276
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes some nasty procfs problems for SMP, makes ps(1) run much faster,
and makes ps(1) even less dependent on /proc which will aid chroot and
jails alike.
To disable this facility and revert to previous behaviour:
sysctl -w kern.ps_arg_cache_limit=0
For full details see the current@FreeBSD.org mail-archives.
Notes:
svn path=/head/; revision=53239
|
|
|
|
|
|
|
| |
Obtained from: OpenBSD (inspired by)
Notes:
svn path=/head/; revision=53170
|
|
|
|
|
|
|
|
| |
PR: 14472
Reported by: j_guojun@lbl.gov (Jin Guojun)
Notes:
svn path=/head/; revision=53082
|
|
|
|
|
|
|
|
|
|
| |
example of such a clone.
PR: 14601
Submitted by: Matthias Buelow <mkb@altair.mayn.de>
Notes:
svn path=/head/; revision=53081
|
|
|
|
|
|
|
|
|
| |
don't have their stdin closed indisciminantly.
Reviewed by: markm
Notes:
svn path=/head/; revision=52972
|
|
|
|
|
|
|
|
|
|
|
| |
than two processes (got that? :-), the stdin fd of the middle
processes that has just been set up was accidetially closed. Don't do
this.
PR: bin/14527
Notes:
svn path=/head/; revision=52900
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
be ignored by default by the df(1) program. This is used mostly to
avoid stat()-ing entries that do not represent "real" disk mount
points (such as those made by an automounter such as amd.) It is
also useful not to have to stat() these entries because it takes
longer to report them that for other file systems, being that these
mount points are served by a user-level file server and resulting in
several context switches. Worse, if the automounter is down
unexpectedly, a causal df(1) will hang in an interruptible way.
PR: kern/9764
Submitted by: Erez Zadok <ezk@cs.columbia.edu>
Notes:
svn path=/head/; revision=52735
|
|
|
|
| |
Notes:
svn path=/head/; revision=52604
|
|
|
|
|
|
|
| |
PR: bin/14509
Notes:
svn path=/head/; revision=52526
|
|
|
|
|
|
|
| |
Forgotten by: sheldonh
Notes:
svn path=/head/; revision=52319
|
|
|
|
| |
Notes:
svn path=/head/; revision=52072
|
|
|
|
|
|
|
|
| |
userland. Currently, it can be enforced by login and csh. More
shells supporting sbsize are welcome.
Notes:
svn path=/head/; revision=52071
|
|
|
|
|
|
|
| |
Reviewed by: mpp
Notes:
svn path=/head/; revision=51985
|
|
|
|
| |
Notes:
svn path=/head/; revision=51913
|