Commit Graph

20813 Commits

Author SHA1 Message Date
jb
23802b4b62 Fix indentations. Sigh. 1997-04-01 22:51:48 +00:00
jb
70db53e4e7 Make error checking less zealous to handle devices like /dev/null
which don't provide a non-blocking interface.

This is a short term "fix" which changes a half-lose to a half-win.
The thread that accesses a device that does not provide a non-blocking
interface will block for its time slice.

A medium term solution would be to use rfork. A long-term solution
would be some sort of kernel thread/SMP implementation.
1997-04-01 22:49:58 +00:00
jb
281aa43a36 Add parentheses to make blocking mode work. 1997-04-01 22:44:18 +00:00
mpp
4b08ee0ed3 Be more specific as to which flags may not be turned off when the
system is running in secure mode.

Obtained from: NetBSD PR# 3299
1997-04-01 20:41:04 +00:00
joerg
4c53760558 Use MAXHOSTNAMELEN, as opposed to an arbitrary number, and ensure
correct termination if it overflows.

Closes PR # misc/2982.

Submitted by:	Drew Derbyshire <ahd@kew.com>
1997-04-01 20:39:59 +00:00
mpp
0152710164 Add od(4). Closes PR# 3170.
Submitted by:	Shunsuke Akiyama <akiyama@jp.freebsd.org>
1997-04-01 19:52:37 +00:00
joerg
f384113a87 Add an entry for the newer Philips CDD26xx family CD-R drives. They
come out with PHILIPS as the vendor string, as opposed to IMS for the
older ones.

Submitted by:	"Brian N. Handy" <handy@sag.space.lockheed.com>
1997-04-01 19:28:03 +00:00
mpp
3a40347ef1 Grammar fix. 1997-04-01 19:09:20 +00:00
mpp
a8f58296ab Xref the new issetugid(2) man page where appropriate.
Also add additional set*id(2) xrefs where appropriate.
1997-04-01 18:58:38 +00:00
mpp
b87dacefe4 Don't xref setregid(2) twice - one of them should be setreuid(2). 1997-04-01 18:50:56 +00:00
mpp
288c649489 Fix one very minor mdoc problem. Gentle enough, Peter? :-) 1997-04-01 18:45:57 +00:00
mpp
94774977e0 Remove a doubled word. Closes PR# 3163.
Submitted by:	 Kazuo Horikawa <horikawa@jp.freebsd.org>
1997-04-01 18:28:25 +00:00
mpp
2e658dbf0d Fix a minor grammar problem. 1997-04-01 18:06:33 +00:00
mpp
00374de535 MLINK uu_lockerr(3). 1997-04-01 17:44:58 +00:00
mpp
6fb13de4c3 Mdoc police. 1997-04-01 17:44:31 +00:00
guido
7f21d44360 Make mount_nfs use reserved ports by default.. Mounts already use
a reserved port, so why not the nfs rpc's themselves?
With user allowed mounts, this perhaps needs a closer look, but
on the other hand, a user could already specify the flag.
If normal users should not be able to use resserved ports, the kernel
should check for the flag at mount time.
1997-04-01 17:20:17 +00:00
bde
501df7d65d Removed a wrong comment of mine.
Removed unused #includes.
1997-04-01 16:22:31 +00:00
bde
26a5337c7b Fixed gratuitous ANSIisms.
Removed unused declarations.
1997-04-01 16:13:31 +00:00
bde
33314720e2 Fixed gratuitous ANSIisms.
Removed trailing newline from panic messages.
1997-04-01 15:22:59 +00:00
bde
7468722294 Use __i386__ instead of i386 in ifdefs.
Don't compile unused (debugging?) functions.
1997-04-01 15:10:38 +00:00
bde
5ba45e8d33 Fixed gratuitous ANSIisms. 1997-04-01 14:31:06 +00:00
bde
68052e6de3 Don't fail when the vfs.nfs.nfs_privport sysctl doesn't exist
(presumably because the kernel is old).  Moved the declaration of a
variable realated to this sysctl outside of an unrelated ifdef.

Not fixed:
- this sysctl is badly named (nfs occurs twice).
- it's silly to have for FreeBSD in FreeBSD code, especially when
  only half of the FreeBSD-dependent code is ifdefed.
1997-04-01 14:15:30 +00:00
bde
0be4160258 Simplified install rule. 1997-04-01 13:53:16 +00:00
bde
da270d0a3c Use OID_AUTO instead of magic number for the Lite2 sysctl debug.busyprt.
Removed declaration of vfs_unmountroot() again.

Staticized vgonel().
1997-04-01 13:05:34 +00:00
adam
4d7709a94e consistency update.
since we have "unsizeable" also have "sizeable"
1997-04-01 12:34:13 +00:00
davidn
e74b38e034 Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
Fix incorrect bracket nesting. Closes PR#3144.
1997-04-01 11:54:06 +00:00
bde
9605d751ab Use OID_AUTO instead of magic number for the old sysctl debug.rcluster.
The magic number conflicted with the rotting disabled one in ext2fs for
debug.doasyncfree.

Removed messy debugging variable/constant/sysctl debug.doreallocblks.
Lite2 removed it, and we don't use the code that it controls.
1997-04-01 11:48:30 +00:00
bde
895862c7f0 Use OID_AUTO instead of magic number for old sysctl debug.elf_trace. The
magic number conflicted with the one for the Lite2 sysctl debug.busyprt.

Staticized some variables.

Removed unused #includes.
1997-04-01 10:41:48 +00:00
bde
ed79da997e Use OID_AUTO instead of a magic number for Lite2 sysctl debug.lockf_debug.
Removed unused #includes.
1997-04-01 10:30:06 +00:00
bde
f9d9e3dc89 Fixed commented-out Lite2 sysctl debug.lockpausetime.
Removed unused #includes.
1997-04-01 10:18:51 +00:00
jkh
2f198c0015 Sync from 2.2 1997-04-01 09:53:32 +00:00
bde
278256e73a Removed potentially harmful garbage <vm/lock.h> and fixed bogus
use of it.  It was actually harmless because the use was null due
to fortuitous include orders and identical (wrong) idempotency
macros.
1997-04-01 08:39:07 +00:00
bde
d6083d03a2 Removed nested include of <ufs/ufs/dir.h>. Use the pre-Lite2 hack of
defining doff_t both here and in <ufs/ufs/dir.h> so that this file
is independent of <ufs/ufs/dir.h>.  It still has old prerequisites
<sys/param.h> and <ufs/ufs/quota.h>, and a new Lite2 prerequisite of
<sys/lock.h>, sigh.

This might fix lsof, which was broken by namespace pollution giving
conflicting definitions of DIRBLKSIZ.
1997-04-01 08:02:00 +00:00
bde
c2086a6f98 Fixed missing DPADD. Removed now-redundant SRCS. 1997-04-01 07:43:14 +00:00
bde
1ed283cd49 Fixed DPADD. 1997-04-01 07:37:28 +00:00
pst
47ddfbdc93 Added pop3pw amandaidx amidxtape 1997-04-01 06:22:22 +00:00
jdp
0e67fb1223 Correct the name of a header file that is referenced. 1997-04-01 04:04:09 +00:00
hanai
03545f5dcd Fix the typo.
Submitted by: Nishika <nishika@cheerful.com>
1997-04-01 02:38:01 +00:00
jmz
7014b47114 Fix the output format for numbers >= 1E99.
Closes PR bin/648.
1997-04-01 02:32:41 +00:00
hanai
86c18de140 Catch up with the original. 1997-04-01 02:32:28 +00:00
jmz
a002b17d47 Add the -DPedantic flag. This is used in wref.c only. 1997-04-01 02:27:11 +00:00
pst
ed64d2ada6 Merge in bugfixes from 2.2 1997-04-01 02:08:07 +00:00
pst
e9b81e9845 Use mediaClose instead of shutdown 1997-04-01 02:00:42 +00:00
pst
9827ab07c4 Add portmapflags and syslogd flags.
Reviewed by:	jkh
1997-04-01 01:00:35 +00:00
brian
cb7f5ad555 Remove the syslog stuff, and allow various return values
in uu_lock().  Add uu_lockerr() for turning the results of
uu_lock into something printable.  Remove bogus section in man page
about race conditions allowing both processes to get the lock.
Include libutil.h and use uu_lock() correctly  where it should.

Suggested by:	ache@freebsd.org
1997-03-31 22:51:00 +00:00
andreas
8871c2899e Added new file bsd-family-tree
Forgotten by:	wosch ;-)
1997-03-31 20:18:55 +00:00
wosch
b110e6a8c0 Add a note in BUGS section that shar(1) cannot handle files
without a newline ('\n') as last character.
1997-03-31 17:58:27 +00:00
peter
3e63a14f34 Fix the mount_mfs case from the last cleanup. The code was (ab)using
it's internal malloc() implementation to try and avoid overstepping it's
resource limits (yuk!).  Remain using libc's malloc(), but check the
resource limits right before trying to malloc the ramdisk space and leave
some spare memory for libc.  In Andrey's words, the internal malloc
was "true evil"..  Among it's sins is it's ability to allocate less memory
than asked for and still return success.  stdio would just love that. :-)

Reviewed by: ache
1997-03-31 16:43:16 +00:00
peter
1cce6194df General cleanup and update to specify exactly how our implementation
passes on the status across fork/exec.

The previous version had some typos, referred to itself as link(2) in
one place :-), and didn't really match openbsd's implementation either.

Now that I've mentioned typos, hopefully our Typo Police and Xref Police
will be gentle with me. :-)
1997-03-31 16:36:14 +00:00
peter
f551f7b0a0 Steal issetugid man page from OpenBSD. Needs work..
Obtained from: OpenBSD
1997-03-31 15:59:14 +00:00