| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
(about 31 MB - 32 MB).
Submitted (partially)
by: Pascal Hofstee <daeron@wit401305.student.utwente.nl>
|
| |
|
|
|
|
| |
Reviewed by: markm
|
|
|
|
| |
Reviewed by: markm
|
| |
|
| |
|
|
|
|
| |
Use .St macro instead of hardcoding standard name
|
|
|
|
|
|
|
| |
string after each successful snprintf() call. This makes apply(1) work
*correctly*, although the whole snprintf() deal really should be redone.
Bug noted by: nectar (about 3 weeks ago)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: 24586
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
|
|
|
|
| |
Reviewed by: markm, months ago
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vm.stats.vm.v_forks
vm.stats.vm.v_vforks
vm.stats.vm.v_rforks
vm.stats.vm.v_kthreads
vm.stats.vm.v_forkpages
vm.stats.vm.v_vforkpages
vm.stats.vm.v_rforkpages
vm.stats.vm.v_kthreadpages
Submitted by: Paul Herman <pherman@frenchfries.net>
Reviewed by: alfred
|
|
|
|
|
|
|
|
|
|
|
| |
is empty. There doesn't appear to be another easy way to do this.
mobile# mkdir foo
mobile# mkdir foo/bar
mobile# mkdir bar
mobile# find . -empty
./foo/bar
./bar
|
| |
|
|
|
|
| |
internal data structures.
|
|
|
|
|
|
| |
is ultimately silly because no locks are held in user space while traversing
the list via kvm_reads... really, this should use the sysctl interface
which *is* protected by a lock in the kernel.
|
|
|
|
|
|
|
|
|
| |
declarations & their arguments; use only one tab after types; restore the
type of argv to sync with src tree style; sort new variables under main();
fix continuation indents; remove extra blank line before free()'s. Still
to do: fix snprintf() handling as nectar & bde suggested to me.
Submitted by: bde
|
|
|
|
|
|
|
| |
it to make.h so both dir.c and util.c can use it, although bde didn't
particularly like this part of the idea, IMO it's cleaner than it was.
Submitted by: bde
|
| |
|
| |
|
|
|
|
| |
Old code works only if at least one process name additionly specified.
|
|
|
|
| |
Reviewed by: kris
|
|
|
|
|
| |
PR: 23742
Submitted by: Rich Morin <rdm@cfcl.com>
|
| |
|
| |
|
|
|
|
|
| |
PR: 24369
Submitted by: Tony Finch <dot@dotat.at>
|
| |
|
| |
|
|
|
|
| |
I only noticed when I went to check that it worked OK in RELENG_3.
|
|
|
|
| |
because of new rename to /usr/libexec/cpp0
|
|
|
|
| |
were SVR%).
|
| |
|
|
|
|
| |
Submitted by: Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BDECFLAGS; ANSIfy; use EXEC instead of "exec " where appropriate; use
proper types (size_t, int); use proper variable names for certain things;
get rid of static 'cache' style stuff by moving and sanitizing the
original SHELL checking code to main(), this also makes it easier to
free() the string; rename file-scope system() to exec_shell(); use
snprintf() everywhere instead of sprintf(); actually remember to free()
other malloc()'d char pointers in main().
I left out the -s option in this revision along with getusershell()
checking because of objections made by Warner Losh <imp> and Garrett
Wollman <wollman>. I agreed with their assertions that such code was
unnecessary in a program like this.
I dare people to make this coredump now.
Some suggestions: nectar (snprintf() truncate checking)
Reviewed by: markm, eivind, jedgar
Tortured by: examples in apply(1), fuzz(1),
and a lot of random ideas I came up with
|
|
|
|
|
|
| |
and make sure it works next time.
Submitted by: markm, jhb
|
|
|
|
| |
isn't found in /etc/shells.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
especially on strings passed from argv; rename system() to exec_shell(),
and make it static; use strlcpy() and make sure it works; use proper
type (size_t) to be passed to malloc()/realloc().
Use getusershell() to make sure the SHELL environment variable passed is
safe to use. Add new option -s to allow anal users to pass things like
perl; this option is here along with getusershell() checking since the
such checking is only intended to affect things like suidperl that might
call apply(1).
Reviewed by: markm, jhb, C. Stephen Gunn <csg@waterspout.com>
|
|
|
|
|
| |
PR: 23456
Submitted by: jgrosch@mooseriver.com
|
|
|
|
| |
Suggested by: assar
|
|
|
|
|
|
|
| |
include a reference to the Calendar FAQ. Also make argument parsing
a little more robust.
PR: 23881
|
|
|
|
|
|
|
|
|
| |
all devices are by default known by their 'cooked' name, so
my change was wrong. I thought it was a hangover from old 'block
tape device' support which hasn't worked (if it ever did) since
v6/PWB.
So, the default tape name is now the same as Linux. Far out, man....
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: phk
|
|
|
|
|
| |
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: phk
|
|
|
|
|
| |
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: /sbin/md5
|
|
|
|
|
| |
Submitted by: Svein Skogen <tds@nsn.no>
Reviewed by: brian, ru
|
|
|
|
| |
Submitted by: ben
|