John Birrell
c61e516832
Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() which
...
do not exist in NetBSD 1.3.
1998-01-15 09:58:08 +00:00
Alexander Langer
cbc3778c2f
Typo fix.
...
Added EOPNOTSUPP and EMLINK to errors section.
Added symlink(2) xref.
Obtained from: OpenBSD
1998-01-15 04:31:28 +00:00
John Birrell
da8a9b61c7
Include string.h for memcpy function prototype.
1998-01-14 08:14:56 +00:00
Brian Somers
b563bd02f0
Remove __libalias_version. Ppp no longer uses it.
1998-01-14 01:24:49 +00:00
Alexander Langer
4d1b2e67ae
Consistently reference init as .Xr init 8.
...
Obtained from: OpenBSD
1998-01-13 05:09:16 +00:00
Alexander Langer
e3abfc8253
Return type and argument to sleep are unsigned int.
1998-01-13 04:32:00 +00:00
John Birrell
49f91abde3
When printf'ing the result of pointer arithmetic, cast the result to
...
long and use %ld, not %d.
We're going to need an abbreviation for this comment 'cause it's going
to be used a lot from now on.
1998-01-13 03:07:10 +00:00
Alexander Langer
26db1da8a9
Dump the constant NGROUPS in favor of the POSIX way:
...
sysconf(_SC_NGROUPS_MAX).
Submitted by: bde
1998-01-13 01:30:17 +00:00
Alexander Langer
e4a6f1ad1f
Use .Fn for sysconf(_SC_CLOCK_TCK) reference.
...
Added $Id$.
1998-01-13 01:21:19 +00:00
Eivind Eklund
920207a8e9
${TARGET} -> ${.TARGET}
...
Tiny pointed hat goes to: Our Makefile-meister.
1998-01-12 18:29:02 +00:00
Alexander Langer
73a8c56ec1
Formatting fix & improved comment for struct timeval.
...
Obtained from: OpenBSD
1998-01-11 22:28:56 +00:00
Alexander Langer
d4b1275d66
Fixed brk(2) xref.
...
Obtained from: OpenBSD
1998-01-11 22:22:50 +00:00
Alexander Langer
21bcb535ea
Added sys/types.h to synopsis as per POSIX.
...
Obtained from: OpenBSD
1998-01-11 22:16:11 +00:00
Alexander Langer
7ea0dca625
Replace sys/param.h with sys/types.h as per POSIX.
...
Document the special case of gidsetlen == 0.
Partially obtained from: OpenBSD
1998-01-11 22:01:20 +00:00
Alexander Langer
6eba99b0db
Document that arg max is controllable via sysctl.
1998-01-11 21:43:38 +00:00
Eivind Eklund
58ba5f4a30
Remove use of <osreldate.h>.
...
Screwed up by: myself
1998-01-11 18:34:38 +00:00
Alexander Langer
92d7687ee6
Formatting fix.
...
Obtained from: OpenBSD
1998-01-11 17:49:51 +00:00
Alexander Langer
fa70846939
Added EMFILE and ENFILE to errors section.
...
Obtained from: OpenBSD
1998-01-11 17:07:20 +00:00
Alexander Langer
5e8b84b628
.Xr sigvec --> sigaction
...
Obtained from: OpenBSD
1998-01-11 16:56:01 +00:00
Alexander Langer
a5c3b32774
Add <sys/types.h> to synopsis.
...
Correct a grammatical error.
Add cross-reference to setrlimit(2).
Obtained from: OpenBSD
1998-01-11 16:51:49 +00:00
John Birrell
3c526fbfd3
CSU source for Alpha obtained from NetBSD. The makefile will require
...
more work when we get a half-way usable libc (which is next).
1998-01-11 03:30:39 +00:00
John Birrell
fdbac8827e
We can now build libm on Alpha. There is very little MD alpha code.
1998-01-10 22:51:51 +00:00
John Birrell
11f8db59fb
This is the only alpha math source that NetBSD has.
1998-01-10 22:17:24 +00:00
Steve Price
1f48070a27
Put back __libalias_version so ppp(8) build again.
1998-01-10 19:37:19 +00:00
Alexander Langer
1e73fe2ae8
Sync with ipfw interface change: fw_pts is now part of a union (a
...
necessary evil due to the 108 byte setsockopt() limit).
1998-01-10 16:14:18 +00:00
Jordan K. Hubbard
20f16cfce3
include <net/if.h> and restore this to sanity.
1998-01-10 15:04:06 +00:00
John Birrell
6a7a98c954
Bruce says that ${.CURDIR}/csu/${MACHINE} will prevent finding a
...
stale obj directory and we wouldn't want to do that! I trust he knows
what he's talking about. 8-)
Also avoid building libm at all until the NetBSD asm code is imported.
I wrongly commented this out last time. Oops.
1998-01-10 09:09:24 +00:00
John Birrell
d69fcdf283
Allow this to compile with NetBSD tools.
1998-01-09 23:51:04 +00:00
Eivind Eklund
8ddc51bc8b
Teach libalias to work with IPFW firewalls (controlled by a flag).
...
Obtained from: Yes development tree (+ 10 lines of patches from
Charles Mott, original libalias author)
1998-01-09 21:13:35 +00:00
John Birrell
b09f41a4b9
Don't build libc, libc_r or libm on Alpha yet. We'll do the other
...
libraries first and use NetBSD's libc/libm for now.
1998-01-09 19:46:30 +00:00
John Birrell
f1d896d117
Make a couple of the stat flags dependent on the sys/stat.h header file
...
that this source is compiled against. This source is referenced by
install which is needed as a build tool and must be able to compile
against NetBSD headers and libraries if we have a hope of supporting
another architecture.
With this change, that's two working programs down and 3945 (?) to go.
The other one was make, but that didn't need any changes to work under
FreeBSD/Alpha. 8-)
1998-01-09 06:14:59 +00:00
John Birrell
8d6fec39d2
Build lib/csu/${MACHINE} only if it exists so that when porting FreeBSD
...
to another architecture (in this case the Alpha) we can continue to use
the host csu objects (from NetBSD). This should be a non-function change
to FreeBSD/i386.
1998-01-09 05:37:41 +00:00
Warner Losh
3c8e19e155
handle long usernames more carefully
...
Reviewed by: guido
Obtained from: OpenBSD (Theo de Raadt)
1998-01-07 00:28:36 +00:00
Philippe Charnier
125c8263d8
Convert to mdoc format.
1998-01-05 07:12:16 +00:00
Andrey A. Chernov
b250f24856
size_t -> unsigned
...
in arguments length INT_MAX overflow check
Suggested-by: bde
1998-01-04 22:28:47 +00:00
Alexander Langer
e69bcfc3bc
Expanded cross references.
1998-01-02 19:22:52 +00:00
Andrey A. Chernov
b8b68d9946
Remove unneeded code left from testing
1998-01-02 05:05:20 +00:00
Andrey A. Chernov
8bf5c1da27
1) Redo internal interface to be more latest ncurses-like
...
2) Fix winsdel called in last line of the window (nothing happens in
old variant)
3) Add range checks to wscrl() and internal soft scroll function
1998-01-02 04:36:51 +00:00
Steve Price
e2263d244f
Fix another problem with clearing the last line of the
...
display.
Submitted by: Kouichi Hirabayashi <kh@mogami-wire.co.jp>
1998-01-01 23:27:10 +00:00
Andrey A. Chernov
8c6d2f42e1
1. EOF was returned when the buffer size was larger than INT_MAX. This
...
case has very little to do with the output size being larger than
INT_MAX.
2. The new #include of <limits.h> was disordered.
3. The new declaration of `on' was disordered (integer types go together).
4. Testing an unsigned value for > 0 was fishy.
Submitted by: bde
1998-01-01 20:15:58 +00:00
Alexander Langer
5a5b9efe70
Drop the use of caddr_t in conjunction with mmap(2).
1997-12-31 03:15:06 +00:00
Alexander Langer
7167d5b04c
Convert caddr_t --> void * for sys/mman.h functions.
...
mlock, mmap, mprotect, msync, munlock, and munmap are defined by
POSIX as taking void *. The const modifier has been added to
mlock, munlock, and mprotect as the standard dictates.
minherit comes from OpenBSD and has been updated to conform with
their recent change to void *.
madvise and mincore are not defined by POSIX, but their arguments
have been modified to be consistent with the POSIX-defined functions.
mincore takes a const pointer, but madvise does not due to the
MADV_FREE case.
Discussed with: bde
1997-12-31 01:22:01 +00:00
Alexander Langer
1948b335ba
Fixed formatting of the MADV_FREE flag description.
...
Pointed out by: bde
1997-12-30 05:17:33 +00:00
Alexander Langer
22d0a78532
Typo fix.
1997-12-30 04:05:47 +00:00
Alexander Langer
fd630dd1cc
Document MS_SYNC.
1997-12-30 03:26:15 +00:00
Steve Price
b497d31373
Handle the condition where BS is typed while the cursor is
...
at the first position on either of the last two lines of the
screen. Ie. append contents of current line to the previous
line and scroll the next line's contents up.
PR: 5392
Submitted by: Kouichi Hirabayashi <kh@mogami-wire.co.jp>
1997-12-29 03:29:29 +00:00
Wolfram Schneider
de635b0683
The terminating character in strings is NUL', not
NULL'.
1997-12-28 12:06:29 +00:00
Tim Vanderhoek
02e6c12b3c
fork() checks RLIMIT_NPROC, not RLIMIT_NOFILE.
...
pr: docs/5260
submitted-by: Niall Smart [3]njs3@doc.ic.ac.uk
1997-12-26 16:11:49 +00:00
Alexander Langer
372787c102
Changed pthread_detach to conform to POSIX, i.e. the single argument
...
provided is of type pthread_t instead of pthread_t *.
PR: 4320
Return EINVAL instead of ESRCH if attempting to detach an already
detached thread.
1997-12-25 05:07:20 +00:00
Alexander Langer
3b7c07b1f2
Removed unnecessary initialization of hp in gethostbyaddr_r.
1997-12-25 04:21:08 +00:00