tjr
1f5fc25e7a
Complain if more than one file argument is given to unlink(1) like we did
...
before I made unlink use getopt().
2002-07-12 07:20:20 +00:00
alfred
44bbcfec60
regen for freebsd4_sendfile(2) compat.
2002-07-12 06:52:44 +00:00
alfred
598d9de715
Create a bug-for-bug FreeBSD4 compatible version of sendfile and move the
...
fixed sendfile over. This is needed to preserve binary compatibility from
4.x to 5.x.
2002-07-12 06:51:57 +00:00
alfred
482e3b64c1
Introduce syscall.master option 'COMPAT4' which allows one to wrap
...
syscalls for FreeBSD 4 compatibility.
Add kernel option COMPAT_FREEBSD4 to enable these syscalls.
2002-07-12 06:38:34 +00:00
peter
576e9cfb99
Unexpand a couple of 8-space indents that I added in rev 1.285.
2002-07-12 04:58:51 +00:00
peter
5f510a2bac
Avoid a vm_page_lookup() - that uses a spinlock protected hash. We can
...
just use the object's memq for our nefarious purposes.
2002-07-12 04:38:51 +00:00
alc
f5dfaef158
o Lock some (unfortunately, not yet all) accesses to the page queues.
2002-07-12 03:17:22 +00:00
alc
41d34057a5
o Lock accesses to the page queues.
2002-07-12 02:55:55 +00:00
ken
b1a7b34086
Fix compilation with ENABLE_VFS_IOOPT turned on and ZERO_COPY_SOCKETS
...
turned off.
Clean up #ifdefs, and remove a bunch of unnecessary includes.
Reviewed by: bde
Tested by: netchild
2002-07-12 02:23:55 +00:00
keramida
722bbd5d1c
Don't duplicate the description of the sticky bit that is already
...
part of chmod(2) and sticky(8), but refer to those manpages instead.
PR: docs/35605
Submitted by: Gary W. Swearingen <swear@blarg.net>
2002-07-12 01:57:44 +00:00
gad
f9c62a94d6
Call routine to free everything obtained when filling in 'struct printer'.
...
MFC after: 3 days
2002-07-12 01:53:36 +00:00
gad
e2696cc497
Fix set_qstate() so it correctly checks for any error from chmod().
...
Note that set_qstate() is only called from several 'lpc' commands.
MFC after: 3 days
2002-07-12 01:37:06 +00:00
gad
793db011bb
Add a SQS_QCHANGED option to set_qstate(). This will soon be used by 'lpc'.
...
Reviewed by: freebsd-print@bostonradio.org
MFC after: 3 days
2002-07-12 01:31:46 +00:00
keramida
760cdded06
Various typo fixes.
...
PR: docs/39395
Submitted by: Rich Neswold <rneswold@ameritech.net>
2002-07-12 01:30:18 +00:00
gad
43e8f81241
Add two variables to struct jobqueue, and change the way that getq()
...
calculates how much space to get for that struct, so it will get the
right amount when new variables are added.
MFC after: 3 days
2002-07-12 01:22:57 +00:00
obrien
49c4747738
Yep, revision 1.3 was 1/2assed.
...
This time use the right attribute for null_format_ok.
Submitted by: bde
2002-07-12 00:49:52 +00:00
gad
f95138e697
Move prototypes for ctl_readcf and ctl_freeinf from ctlinfo.c to ctlinfo.h,
...
so the routines can be called by an upcoming change for 'lpc topq/bottomq'.
MFC after: 3 days
2002-07-12 00:33:07 +00:00
truckman
5d8999f18a
Defer calling SYSCTL_OUT() until after the locks have been released.
2002-07-11 23:18:43 +00:00
truckman
fe3b828f84
Reduce the nesting level of a code block that doesn't need to be in
...
an else clause.
2002-07-11 23:13:31 +00:00
wollman
231c73de87
A simple implementation of statvfs(3) (one step above the trivial one).
...
Not yet connected to the build (awaiting documentation).
2002-07-11 22:54:11 +00:00
alfred
ec5f2018ae
WARNS=2, de-__P()
2002-07-11 22:50:36 +00:00
julian
3b02a53006
Remove debugging code that I originally only wanted to be there for a couple of days after merge.
...
Reminded with pointy stick by: jhb
2002-07-11 22:47:58 +00:00
alfred
f77a6250b3
WARNS=4, de-__P()
2002-07-11 22:29:11 +00:00
alfred
44a833ee5a
Update manpages to reference 'timed' rpc functions
2002-07-11 22:25:16 +00:00
alfred
d828b6f6ee
Fix indentation broken in previous __P removal.
...
Grumbled about by: bde
2002-07-11 22:18:26 +00:00
jhb
30b152864c
thread_exit() requires PROC_LOCK to be held, so lock it.
2002-07-11 22:13:33 +00:00
alfred
088603aa7d
WARNS=4, de-__P()
2002-07-11 22:11:20 +00:00
jhb
26953c640b
Add a missing newline during panic printf's for SMP systems that don't
...
have APICS. (Like all the !i386 archs).
2002-07-11 21:56:37 +00:00
jmallett
356638a289
Remove unused variables due to libufs(3) commit. Clean up extraneous use of
...
semicolon at closing paren of a function body.
2002-07-11 21:46:12 +00:00
jmallett
3f66160d6d
Convert dumpfs(8) to libufs(3), rather than rolling local functions for a
...
number of things.
2002-07-11 21:44:03 +00:00
alfred
fc30cb8474
WARNS=4, de-__P()
2002-07-11 21:40:15 +00:00
alfred
ba97087db2
de-__P()
2002-07-11 21:28:16 +00:00
jmallett
9c7ad0f5fd
Fill out (zero) and fill in (when doing getino()) the minimum and maximum
...
inodes in our inoblock (disk->d_ino{min,max}) appropriately.
2002-07-11 21:27:26 +00:00
alfred
b790e6b937
WARNS=4, de-__P()
2002-07-11 21:26:41 +00:00
joerg
1d2b625a3d
Complete rewrite, once again.
...
This is basically a ``C compilation'' of the former whereis.pl file,
employing the same algorithms, and aiming at being mostly
UI-compatible to the old (legally tainted) 4.3BSD whereis(1). In
comparision, the 4.4BSD-Lite version is just another variant of
which(1) only, where in particular the option to search for source
directories is sorely missing.
While i was at it, i added two more options which i contemplated doing
long since. -x will suppress the run of locate(1) to find sources
that could not be found otherwise, potentially saving a lot of time
(but obviously, risking to not find some sources that are well hidden
in the tree). -q will omit the leading name of the query, so in
particular, you can now do something like:
cd `whereis -qs ls`
I'd explicitly like to thank johan for his review which was quite a
bit more than an average review, including sending me a lot of diffs.
Reviewed by: johan
2002-07-11 21:20:54 +00:00
alfred
cef3a16df0
WARNS=4
2002-07-11 21:18:55 +00:00
alfred
9350b2dc7e
WARNS=4 cleanup, de-__P()
2002-07-11 21:16:52 +00:00
alfred
a241579492
de-__P()
2002-07-11 21:13:37 +00:00
trhodes
15adc38d49
Add a bit of information on FFS snapshots to the mount(8) manual page.
...
PR: 30139
Submitted by: Chris Knight <chris@aims.com.au?
MFC after: 3 days
2002-07-11 21:12:45 +00:00
alfred
39c57be6b9
WARNS?=4 cleanup.
2002-07-11 21:12:18 +00:00
keramida
eea24f3d3e
Add note about the info documentation of diff(1).
...
It contains a detailed description of the =format option part.
PR: docs/36464
Submitted by: Gary W. Swearingen <swear@blarg.net>
2002-07-11 21:11:26 +00:00
alfred
d9e0ad98f3
de-__P()
2002-07-11 20:53:56 +00:00
bde
7555ac60bc
Fixed misspelling of "hint." as "hints." in rp's hints.
2002-07-11 20:47:56 +00:00
bde
3e0829ee08
Fixed misspelling of "hint." as "hints." in the description of the "hint."
...
keyword and in the description of rp's hints.
Didn't fix rp's hints being mostly in comments so that they are harder to
use (they don't get linted either way because makeLINT.sh strips them and
there is no compile-time syntax checking of hints anyway).
2002-07-11 20:43:37 +00:00
obrien
e6d1debf31
RELENG_4_6 PL 1 libc bits with non-vulnerable resolver.
...
Security Advisory: FreeBSD-SA-02:28.resolv
2002-07-11 20:40:24 +00:00
bde
ec7ed82a0a
Improved wording in the descriptions of hints. In particular, don't start
...
a new paragraph for describing the hints associated with each card type.
Reviewed by: ru
2002-07-11 20:24:58 +00:00
keramida
18c9f9fd09
Mention zegrep and zfgrep too,
...
and what their equivalent grep options are.
PR: docs/35603
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
2002-07-11 20:12:15 +00:00
robert
b9f87c2ae0
Use the length modifier 'l' when supplying an argument of
...
type long to printf(3).
2002-07-11 20:10:07 +00:00
robert
c0716890f8
- Remove unnecessary inclusion of <utmp.h>.
...
- Cast a value to time_t before comparing it to another
time_t to fix a warning.
2002-07-11 20:01:36 +00:00
alfred
db007fe41c
de-__P()
2002-07-11 19:07:35 +00:00