Bruce Evans
0df382bd0f
Changed vfc_typenum back to vfc_index. The old vfsconf struct is now
...
visible again, and the new vfsconf struct didn't match reality.
1997-03-03 05:53:54 +00:00
Andrey A. Chernov
c3e7a0efd1
MAXLOGNAME currently 16, not 12
1997-03-02 21:47:03 +00:00
Warner Losh
8f58838644
Pendantic change of null to NUL. Also warn that this function does not
...
NUL terminate in the case of buffer overflow.
1997-03-02 20:07:37 +00:00
Bruce Evans
08f68ac6a6
Attempt to import Lite2's getvfsbyname.c.
1997-03-02 18:13:14 +00:00
Bruce Evans
095777c6a0
This commit was generated by cvs2svn to compensate for changes in r23291,
...
which included commits to RCS files with non-trunk default branches.
1997-03-02 18:13:14 +00:00
Mike Pritchard
6e11b43020
getnetbyaddr now takes an unsigned long as its first argument.
1997-02-28 06:28:53 +00:00
Mike Pritchard
7dbe27136f
Oops! I accidently commited a change that wasn't ready for prime
...
time yet. Revert to rev 1.2.
1997-02-28 06:26:26 +00:00
Mike Pritchard
cd1b6738ab
The struct vfsconf element vfc_index is now vfs_typenum.
1997-02-28 06:22:29 +00:00
Mike Pritchard
28f86af297
Correct the xref section - it was incorrectly using .Fn instead
...
of .Xr for the xrefs.
1997-02-28 05:46:19 +00:00
Warner Losh
2a62f02315
Buffer overflow from DNS name information which could cause root access
...
when called from lpd.
Reviewed by: jkh, pst
Submitted by: Oliver Friedrichs <oliver@secnet.com>
1997-02-26 06:12:34 +00:00
Peter Wemm
7e546392b5
Revert $FreeBSD$ to $Id$
1997-02-22 15:12:41 +00:00
Peter Wemm
b97fa2ef50
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
Daniel O'Callaghan
589dde865b
Typogrammatical error 'with' -> 'when'.
...
This could be put into 2.2.
1997-02-20 06:50:31 +00:00
Wolfram Schneider
b8dc034799
Add forgotten man page link fts_set.3 -> fts.3
1997-02-16 22:32:13 +00:00
Daniel O'Callaghan
d53ec6c0d0
Reviewed by: Bruce Evans <bde@freebsd.org>
...
Guard against possible buffer overrun in filename passed.
Another candidate for 2.2.
1997-02-15 07:10:26 +00:00
David Nugent
a60c8a80bc
Allow commonly-used "insecure" as a valid keyword in /etc/ttys.
...
This prevents keywords after "insecure" occurs being errnoeously
parsed as comments.
1997-02-15 05:45:00 +00:00
Bruce Evans
b416939d71
Moved definitions of PIC macros from SYS.h to DEFS.h so that SYS.h
...
doesn't need to be included in files that have nothing to do with
syscalls.
Added missing `.text' to START_ENTRY so that ENTRY() works when
invoked in the data section.
1997-02-14 10:57:07 +00:00
Adam David
590f415db7
lite2 remame: vfc_index --> vfc_typenum
1997-02-12 01:34:38 +00:00
Mike Pritchard
be619c7fbd
Update to reflect new Lite2 mount.h and friends.
1997-02-10 07:36:00 +00:00
Mike Pritchard
4cb0cd1bb5
Update to reflect new Lite2 mount.h.
1997-02-10 07:29:25 +00:00
Andrey A. Chernov
e799281533
Move _PathLocale to data-only file, so setrunelocale() not pick up
...
whole setlocale.c module now.
Should go into 2.2
1997-02-09 09:29:27 +00:00
Warner Losh
5480d8d5c2
Fix PR2579: potential security hole in rcmd.c
...
Submitted by: Julian Assange
1997-02-09 06:54:46 +00:00
Joerg Wunsch
cc551f25f4
Do Andrey's homework :) before merging this into 2.2:
...
. add idempotency #ifdef
. avoid sloppy common-style external declaration.
1997-02-08 14:04:30 +00:00
Andrey A. Chernov
b195036087
Include "setlocale.h" for _PathLocale like other parts already did
...
Should go in 2.2
1997-02-07 13:05:51 +00:00
Andrey A. Chernov
939aed4fb5
Comment out PATH_LOCALE reference
...
Should go into 2.2
1997-02-06 09:29:02 +00:00
Andrey A. Chernov
63407d3487
Use symbolic constants instead of hardcoded digits
...
Add range check for setrunelocale since it can be called
directly.
Remove _startup_setlocale compatibility function
Should go into 2.2
1997-02-06 09:11:06 +00:00
Paul Traina
b6b0d266cd
Fix yet another setlocale() bug.
...
Submitted by: Wojtek Pilorz <wpilorz@celebris.bdk.lublin.pl>
1997-02-06 08:31:42 +00:00
Julian Elischer
c840cec7c5
Submitted by: John Birrell
...
uthreads update from the author.
1997-02-05 23:26:09 +00:00
Andrey A. Chernov
628abd1b29
Add XXX comment describing potential memset non-portable issue
...
Nitpicked-by: joerg
1997-02-05 20:54:16 +00:00
Andrey A. Chernov
e56a1af623
Update the comment why range checking is not needed
...
Should go in 2.2
1997-02-05 19:22:04 +00:00
Andrey A. Chernov
d81a091605
Update the comment why range checking not needed
...
Fix setrunelocale fail if called directly without prior setlocale
call
Should go in 2.2
1997-02-05 19:17:10 +00:00
David Greenman
5979500afc
Killed getenv of PATH_LOCALE per Andrey's suggestion. It was intended
...
for debugging locale stuff, but was rarely if ever used...and of course
just bit a big chunk out of our collective hind-ends.
1997-02-05 09:53:25 +00:00
Andrey A. Chernov
2b3e51b901
Add yet one comment saying that range checking already done
...
to stop people "fixing" it by snprintf
1997-02-03 08:29:32 +00:00
Mike Pritchard
21ac7f5f23
Don't use hardcoded *roff font change requests.
1997-01-31 01:06:39 +00:00
Mike Pritchard
6a145130de
Don't use hardcoded *roff font change requests. Do it
...
via mdoc macros instead.
1997-01-31 01:00:12 +00:00
Mike Pritchard
c492ccdb9a
Very minor mdoc cleanup.
1997-01-31 00:25:12 +00:00
Mike Pritchard
453196eb04
Update to reflect current include files.
1997-01-30 23:10:32 +00:00
Mike Pritchard
1ffa645077
Update to reflect current include files.
1997-01-30 23:01:49 +00:00
Mike Pritchard
a734cc76a8
Dont' mlink getgrent.3 to setgrfile.3, since there is no
...
setgrfile() function.
1997-01-30 22:52:50 +00:00
Mike Pritchard
f71a0a5ba8
Update to reflect current include files.
1997-01-30 22:39:40 +00:00
Mike Pritchard
d04f83f2e2
Update to reflect current include files.
1997-01-30 21:31:52 +00:00
Joshua Peck Macdonald
e10cf2fa74
Correct "Chflags() will fail it:" to read "Chflags() will fail if:".
1997-01-30 10:25:38 +00:00
Mike Pritchard
62ae6ac04d
Update to reflect the current mount.h.
1997-01-29 05:43:46 +00:00
David E. O'Brien
21eab473b3
I was porting something from sysV world and found our cross references
...
not quite as good as I would expect. So I'm introducing mknod to mkfifo,
and vice-versa.
1997-01-27 19:20:05 +00:00
Mike Pritchard
0469f5cd68
Document a couple of additional errno's.
...
Submitted by: Steinar Haug and Heiko W. Rupp
Obtained from: NetBSD-bugs & FreeBSD-current mailing lists
1997-01-26 03:44:55 +00:00
Wolfram Schneider
75141cc987
Sort cross references.
1997-01-20 23:23:22 +00:00
Wolfram Schneider
1796040448
Sort cross references.
1997-01-20 23:10:39 +00:00
Alexander Langer
8abdc2eb40
Sweep through the tree fixing mmap() usage:
...
- Use MAP_FAILED instead of the constant -1 to indicate
failure (required by POSIX).
- Removed flag arguments of '0' (required by POSIX).
- Fixed code which expected an error return of 0.
- Fixed code which thought any address with the high bit set
was an error.
- Check for failure where no checks were present.
Discussed with: bde
1997-01-16 21:58:40 +00:00
Andrey A. Chernov
ea295661f9
Use collate for national [a-z]-like ranges
...
Should go in 2.2
1997-01-16 07:36:14 +00:00
Jordan K. Hubbard
efb7e53d32
The following patch to lib/libc/stdio implements positional arguments in
...
a manner consistent with other implementations. Its done in a way that
adds only a tiny amount of overhead when positional arguments are not used.
I also have a test program to go with this, but don't know where it belongs
in the tree.
Submitted-By: Bill Fenner <fenner@FreeBSD.ORG>
1997-01-14 07:31:39 +00:00