1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/usr.sbin
Alfred Perlstein 4b4ec9b800 Fix boundry condition in lock management:
Alfred, I took a look at retry_blockingfilelocklist() and the
 solution seemed  simple enough. Please correct me if I am wrong.
 It seems said routine doesn't  take into account boundary conditions
 when putting back file_lock entries into the blocked lock-list.
 Specifically, it fails when the file_lock being put back is the
 last element in the list, and when it is the only element in the
 list.  I've included a patch below.

 Basically, it introduces another variable: pfl, which keeps track
 of the list  item before ifl. That way if nfl is NULL, ifl gets
 inserted after pfl. If pfl  is also NULL, then it gets inserted
 at the head of the list (since it was the  only element in the
 list).

Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>
Tested by: Thomas Quinot <thomas@cuivre.fr.eu.org>
2002-01-17 00:12:05 +00:00
..
ac localtime() was being called with an int-pointer due to recent utmp 2001-10-29 00:36:01 +00:00
accton Correct a typo. 2001-09-05 19:26:17 +00:00
acpi mdoc(7) police: kill WEOL and HSB, tidy up the AUTHORS section. 2002-01-10 14:36:17 +00:00
adduser yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
amd Removed mentions of TARGET_ARCH from non-cross places. 2001-10-04 14:13:16 +00:00
ancontrol Make man page and usage statement match reality submitted by Ruslan, 2002-01-15 04:31:08 +00:00
apm mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
apmd Handle snprintf() returning < 0 (not just -1) 2001-08-20 15:09:34 +00:00
arp Reorder WARNS line for style. 2001-12-10 21:13:36 +00:00
atm Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
boot0cfg WARNS=2 cleanup. 2001-12-11 06:44:29 +00:00
boot98cfg mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
bootparamd can not -> cannot 2001-08-08 18:32:06 +00:00
btxld mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
burncd Write the "msinfo" result to stdout instead of stderr 2002-01-05 15:21:05 +00:00
cdcontrol Reorder WARNS line for style. 2001-12-10 21:13:36 +00:00
chkgrp Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
chown Add prototypes for main() so that these programs compile with -Werror 2001-12-14 16:22:41 +00:00
chroot Add xref to jail(8) 2001-12-28 09:24:19 +00:00
ckdist mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
config Bump configvers for different handling of maxusers. 2001-12-14 09:40:01 +00:00
cron Document the -x debugging option. 2002-01-16 14:12:02 +00:00
crunch ia64 support. Hide a.out support solely under i386. While alpha never 2001-10-23 10:18:41 +00:00
ctm Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
daemon mdoc(7) police: minor formatting tweaks. 2001-08-31 12:52:50 +00:00
dev_mkdb Add prototypes for main() so that these programs compile with -Werror 2001-12-14 16:22:41 +00:00
devinfo Reorder WARNS line for style. 2001-12-10 21:13:36 +00:00
digictl Reorder WARNS line for style. 2001-12-10 21:13:36 +00:00
diskpart Make the utility name in the usage() diagnostic match the actual 2002-01-06 19:57:26 +00:00
edquota Reorder WARNS line for style. 2001-12-10 21:13:36 +00:00
elf2exe mdoc(7) police: simplify literal display block. 2001-08-20 08:29:55 +00:00
extattrctl o Add a 'showattr' function the extattrctl, allowing a backing file to 2001-12-31 18:21:24 +00:00
faithd s/sysctl -w/sysctl/ 2001-12-11 08:29:10 +00:00
fdcontrol mdoc(7) police: tidy up the markup. 2002-01-10 17:41:22 +00:00
fdformat mdoc(7) police: doh, again I forgot about this XXX. 2002-01-10 17:04:10 +00:00
fdread Long promised major enhancement set for the floppy disk driver: 2001-12-15 19:09:04 +00:00
fdwrite mdoc(7) police: 2001-08-07 15:48:51 +00:00
getextattr WARNS=2 and style(9) cleanup: 2001-12-04 03:28:31 +00:00
gifconfig mdoc(7) police: fix markup, remove stray .Xr. 2001-12-21 08:10:28 +00:00
i4b mdoc(7) police: shorten AUTHORS section. 2002-01-10 18:30:07 +00:00
ifmcstat Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
inetd Fix a typo. 2001-12-11 13:14:48 +00:00
iostat Redo patch in 1.22 such that the header printing is reset when the 2001-09-26 19:35:03 +00:00
ipftest Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ipresend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ipsend Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
iptest Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
IPXrouted Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
jail - Attempt to help declutter kern. sysctl by moving security out from 2002-01-16 06:55:30 +00:00
kbdcontrol mdoc(7) police: 2001-08-07 15:48:51 +00:00
kbdmap mdoc(7) police: s/vidmap/vidfont/, don't xref to itself. 2001-09-04 13:10:28 +00:00
kernbb Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
keyadmin Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
keyserv Fixed bitrot in DPADD in previous commit. 2001-07-30 11:18:09 +00:00
kgmon Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
kgzip mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
kldxref Remove unnecessary machine/bootinfo.h includes. 2002-01-03 19:10:49 +00:00
lastlogin Fix ctime(&int) due to change to lastlog->ll_time 2001-10-29 00:40:05 +00:00
lpr Add another level of checking to 'chkprintcap', which is done by 2001-12-15 23:35:55 +00:00
lptcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mailstats Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mailwrapper Don't free memory that was never allocated. This fixes a core dump in 2001-08-09 06:20:18 +00:00
makemap Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
manctl Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
memcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mergemaster Hopefully squish the problem of mm creating sendmail files in 2001-08-07 06:22:12 +00:00
mixer Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mld6query Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mlxcontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
mount_nwfs Default to WARNS=2. 2001-12-04 02:19:58 +00:00
mount_portalfs Default to WARNS=2. 2001-12-04 02:19:58 +00:00
mount_smbfs Add bmake glue for src/contrib/smbfs and connect userland smbfs 2001-12-14 11:41:22 +00:00
mountd Default to WARNS=2. 2001-12-04 02:19:58 +00:00
moused mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
mptable - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mrouted Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
mtest Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
mtree Only compile with strtofflags.c from libc if bootstrapping. 2001-09-24 15:38:38 +00:00
named FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
named.reload Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
named.restart Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
ndc Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ndp Do not delete 'goto ours' routes when using -c option. 2001-08-09 19:40:35 +00:00
newsyslog Fix the type of the NULL arg to execl(). 2001-11-14 17:00:58 +00:00
nfsd Default to WARNS=2. 2001-12-04 02:19:58 +00:00
ngctl mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
nghook mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
nologin Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
nslookup Install files via FILES. 2001-12-17 16:21:59 +00:00
nsupdate Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ntp Install files via FILES. 2001-12-17 16:21:59 +00:00
pccard Update length more correctly when parsing a cis info field. 2002-01-06 18:03:55 +00:00
pciconf Add missing -v option to the SYNOPSIS. 2001-11-27 12:57:45 +00:00
pcvt Install files via FILES. 2001-12-17 16:21:59 +00:00
periodic mdoc(7) police: fix markup in revision 1.25. 2001-12-08 16:15:44 +00:00
pim6dd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
pim6sd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
pkg_install Add pkg_update to the SEE_ALSO manpage of pkg_create. 2002-01-15 14:39:31 +00:00
pnpinfo Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ppp socket()s first argument should be a protocol family rather than an 2002-01-16 14:03:52 +00:00
pppctl *** empty log message *** 2001-10-01 08:43:58 +00:00
pppd Logging should wind up in /var/log, not /etc/ppp/. 2001-07-31 16:09:29 +00:00
pppstats Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
praliases Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
prefix s/sysctl -w/sysctl/ 2001-12-11 08:29:10 +00:00
procctl Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
pstat Change the vnode list under the mount point from a LIST to a TAILQ 2001-10-23 01:21:29 +00:00
pw Use correct mode for temporary file. 2001-12-20 16:03:04 +00:00
pwd_mkdb Explicitly use int32_t for on-disk records for pw_change and pw_expire, 2001-10-27 02:13:41 +00:00
quot Reorder WARNS line for style. 2001-12-10 21:13:36 +00:00
quotaon Remove a duplicate word. 2001-11-19 08:20:24 +00:00
rarpd Grammatical fixes over previous commit. 2001-11-20 16:33:55 +00:00
raycontrol Whack this code with the Blessed Wand of Stack Protection. 2001-08-08 22:27:02 +00:00
repquota Reorder WARNS line for style. 2001-12-10 21:13:36 +00:00
rip6query Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rmt atol -> strtoll, for file offset 2001-09-05 17:05:31 +00:00
route6d mdoc(7) police: 2001-08-07 15:48:51 +00:00
rpc.lockd Fix boundry condition in lock management: 2002-01-17 00:12:05 +00:00
rpc.statd Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rpc.umntall Don't ignore SIGINT and SIGQUIT. The comment said "Ignore SIGINT 2001-12-09 20:18:36 +00:00
rpc.yppasswdd yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
rpc.ypupdated Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
rpc.ypxfrd yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
rpcbind Capitalize the first word in sentences, and put periods at the end of 2001-08-20 00:03:01 +00:00
rrenumd mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
rtadvd mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
rtprio Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
rtsold mdoc(7) police: Fixed the .Ex calls in manpages that describe more 2001-09-11 12:27:15 +00:00
rwhod Convert time_t to/from 32 bit representations for transmission over 2001-10-28 20:33:07 +00:00
sa mdoc(7) police: utilize the new .Ex macro. 2001-08-15 09:09:47 +00:00
sade Unbreak installation for the CD-ROM and possiblhy other media types. 2002-01-14 19:42:11 +00:00
sendmail Set BINOWN=root explicitly for setuid root binaries. 2001-09-14 11:03:34 +00:00
setextattr Prototype usage() and set WARNS?=2 2001-12-04 13:39:02 +00:00
setkey mdoc(7) police: protect trailing full stops of abbreviations 2001-08-10 13:45:36 +00:00
sgsc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sicontrol Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
sliplogin Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
slstat The interface index space may be sparsely populated (e.g. when an 2001-10-17 04:12:29 +00:00
spkrtest mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
spray Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
stallion FILES support for bsd.prog.mk. See bsd.README for details. 2001-12-17 13:59:35 +00:00
sysinstall Compilers are very picky about matching opeining and closing brackets. 2002-01-15 05:43:37 +00:00
syslogd mdoc(7) police: add missing markup bit. 2002-01-10 15:16:58 +00:00
tcpdchk Don't clobber CFLAGS. 2001-08-04 21:48:18 +00:00
tcpdmatch Don't clobber the default for CFLAGS. 2001-08-31 11:05:24 +00:00
tcpdump Do not assume that sizeof(tv_sec) is sizeof(time_t) - it will be, but 2001-10-28 20:53:17 +00:00
timed Unifdef all the SGI code. It mainly added clutter while providing some 2001-11-20 07:13:40 +00:00
traceroute Set BINOWN=root explicitly for setuid root binaries. 2001-09-13 06:48:18 +00:00
traceroute6 Don't override BINGRP -- this binary is not ``setgid bin''. 2001-09-13 06:52:42 +00:00
trpt SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
tzsetup mdoc(7) police: 2001-08-07 15:48:51 +00:00
usbd Sync usb.h with NetBSD, apart from usb_device_info.speed, which 2002-01-02 20:16:53 +00:00
usbdevs Removed duplicate VCS ID tags, as per style(9). 2001-08-13 14:06:34 +00:00
vidcontrol mdoc(7) police: markup nits. 2001-09-10 09:08:47 +00:00
vipw Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
vnconfig Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
watch Talk about what the user needs to do to get the snp devices, and how 2001-11-24 17:02:58 +00:00
wicontrol WARNS= -> WARNS?= 2001-09-21 07:25:53 +00:00
wlconfig mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
xten Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
yp_mkdb Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
ypbind yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
yppoll yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
yppush yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
ypserv yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
ypset yp(4) -> yp(8). 2002-01-14 16:59:03 +00:00
zic Perform a major cleanup of the usr.sbin Makefiles. 2001-07-20 06:20:32 +00:00
Makefile Exclude pppctl on ia64 due to libc_r. I had been building with 2001-11-04 06:15:28 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00