John Birrell
8680cc3c47
Remove some syscalls that should have been renamed (libc_r doesn't need
...
to wrapper them) and add a couple that should have been there.
1998-05-31 23:53:50 +00:00
John Birrell
382306949d
Add some missing syscall wrappers.
1998-05-31 23:48:30 +00:00
John Birrell
5d359b97bb
Remove some stale code.
...
Pointed out by: Amancio
1998-05-31 23:47:06 +00:00
John Birrell
d972680a31
Don't restart a syscall when a SIGCHLD is received by a thread waiting
...
on a child process.
1998-05-31 23:46:01 +00:00
Steve Price
9e74704eb2
Clarify the example a bit.
...
PR: 6801
Reviewed by: David Kelly <dkelly@hiwaay.net>
1998-05-31 22:43:57 +00:00
Steve Price
a4f54cdf08
Make this ${.OBJDIR} and ${.CURDIR} aware.
...
PR: 2565
1998-05-31 22:40:49 +00:00
Steve Price
c3572d2769
Allow this to include from C++ programs.
...
PR: 2382
Submitted by: Peter Jeremy <perer.jeremy@alcatel.com.au>
1998-05-31 20:12:06 +00:00
Peter Wemm
4152886f7a
For the on-the-wire protocol, u_long -> u_int32_t; long -> int32_t;
...
int -> int32_t; u_short -> u_int16_t. Also, use mode_t instead of u_short
for storing modes (mode_t is a u_int16_t).
Obtained from: NetBSD
1998-05-31 20:09:01 +00:00
Peter Wemm
75c6892c16
Support 'mount -u' remounts. This may require disconnecting and rebinding
...
the socket. Certain mode changes are not allowed.
Obtained from: NetBSD
1998-05-31 19:49:31 +00:00
Peter Wemm
261114d95c
Cut-n-paste glitch
1998-05-31 19:43:34 +00:00
Peter Wemm
5738e077a6
xdr encode -1 properly.
...
Obtained from: NetBSD
1998-05-31 19:29:28 +00:00
Peter Wemm
9a0248a5dd
Fully fill in nfsv2 write rpc requests rather than leaving garbage.
...
Obtained from: NetBSD
1998-05-31 19:28:15 +00:00
Peter Wemm
ec26d608b6
Don't silently fail to set file flags.
...
Obtained from: NetBSD
1998-05-31 19:24:19 +00:00
Peter Wemm
ccc2eb6a3a
Don't blindly accept the server's preferences if they are too small.
...
Obtained from: NetBSD
1998-05-31 19:20:44 +00:00
Peter Wemm
71c667c91b
Prototype support for selectively allowing non-reserved ports on a per
...
export basis. Needs userland support yet.
Obtained from: NetBSD
1998-05-31 19:16:08 +00:00
Peter Wemm
a422fed096
Hide whiteouts from NFS, since the protocol doesn't support them.
...
Obtained from: NetBSD
1998-05-31 19:10:52 +00:00
Peter Wemm
c03d64df19
NetBSD has a comment that Solaris 2.5 doesn't do verifiers correctly,
...
we have weakened this test already for Digital Unix, so it may be enough
for Solaris. It needs to be checked again.
Obtained from: NetBSD
1998-05-31 19:07:47 +00:00
Peter Wemm
13b9f88167
Don't pass a second copy of the uid/gid in with the v2/v3 sattr structures,
...
it just makes more work. We pass a copy of the uid/gid with the
credentials. (although, this may need to be revisited if a non AUTHUNIX
authentication method (such as NFSKERB) ever gets implemented).
Obtained from: NetBSD
1998-05-31 19:00:19 +00:00
Peter Wemm
d0e443aa3a
Use the new SB_UPCALL flag,
...
Obtained from: NetBSD (but I changed the flag clear order in case).
1998-05-31 18:46:06 +00:00
Peter Wemm
04a3fd1276
Let the sowwakeup macro decide when to call sowakeup rather than have
...
tcp "know" about it. A pending upcall would be missed, eg: used by NFS.
Obtained from: NetBSD
1998-05-31 18:42:49 +00:00
Peter Wemm
4dc75870b2
Have the wakeup routine do the upcall if needed.
...
Obtained from: NetBSD
1998-05-31 18:38:43 +00:00
Peter Wemm
47147132c7
Have the sorwakeup and sowwakeup check the upcall flags.
...
Obtained from: NetBSD
1998-05-31 18:37:22 +00:00
Peter Wemm
b258e976a8
NFS_SMALLFH is defined in nfsproto.h, not sys/mount.h
...
Obtained from: NetBSD
1998-05-31 18:32:23 +00:00
Peter Wemm
fe92746897
Don't let the user try "rmdir ."
...
Obtained from: NetBSD
1998-05-31 18:30:42 +00:00
Peter Wemm
f82a64e18d
Don't let the user try and unlink() a directory on a NFS server.
...
Obtained from: NetBSD
1998-05-31 18:28:45 +00:00
Peter Wemm
124765333e
When a write rpc returns an error, break the loop.
...
Obtained from: NetBSD
1998-05-31 18:27:07 +00:00
Peter Wemm
d6bad9e190
Don't leak an mbuf when a write rpc returns zero bytes written.
...
Obtained from: NetBSD
1998-05-31 18:25:32 +00:00
Peter Wemm
a710a27b67
#ifdef a diagnostic printf
...
Obtained from: NetBSD
1998-05-31 18:23:24 +00:00
Peter Wemm
e9156323b8
Don't try and free mrep twice on some error conditions.
...
Obtained from: NetBSD
1998-05-31 18:19:43 +00:00
Peter Wemm
6301c8c330
#ifdef a diagnostic panic, plus another missed costmetic change.
...
Obtained from: NetBSD
1998-05-31 18:11:03 +00:00
Peter Wemm
1da42e389c
We have gained 2 more errno's, add them to the NFSv2 mapping table.
1998-05-31 18:09:18 +00:00
Peter Wemm
946010a5a4
Missed a cosmetic change that the other BSD's have.
1998-05-31 18:08:09 +00:00
Peter Wemm
535fa8520e
oops, nfs_msg() is called from client code too.
1998-05-31 18:06:07 +00:00
Peter Wemm
4a5f4c547e
When we can't reconnect a socket, don't forget to unlock before retrying
...
or we can deadlock.
Obtained from: NetBSD
1998-05-31 18:02:56 +00:00
Peter Wemm
6bea90a1ee
Don't log zero length reads, this can happen during normal operation.
...
Obtained from: NetBSD
1998-05-31 18:00:46 +00:00
Peter Wemm
6c1a945540
Consider for readdir chunk sizes when tuning socket buffer reservations.
...
Obtained from: NetBSD
1998-05-31 17:57:43 +00:00
Peter Wemm
dde4499fec
Refuse READDIR / READDIRPLUS rpc's for non-directories
...
Obtained from: NetBSD
1998-05-31 17:54:18 +00:00
Peter Wemm
c489c83e4c
Some const's
...
Obtained from: NetBSD
1998-05-31 17:48:07 +00:00
Peter Wemm
e8cf20c8db
NFS Jumbo commit part 1. Cosmetic and structural changes only. The aim
...
of this part of commits is to minimize unnecessary differences between
the other NFS's of similar origin. Yes, there are gratuitous changes here
that the style folks won't like, but it makes the catch-up less difficult.
1998-05-31 17:27:58 +00:00
Dag-Erling Smørgrav
8422d3119c
Add a FILES section which references /etc/group
...
Suggested by: Masafumi NAKANE <max@wide.ad.jp>
1998-05-31 17:24:25 +00:00
Bill Paul
07997d60e7
Add a short delay in the read loop in tl_eeprom_getbyte(). On some
...
systems, you have to allow the delay or else you end up misreading
some of the bits.
Patch provided by: Yoshihiko Someya <zb9y-smy@asahi-net.or.jp>
1998-05-31 16:59:39 +00:00
Jordan K. Hubbard
8936bcc46f
Put operator in its own group rather than "staff".
...
Submitted by: "Yarema" <yds@ingress.com>
1998-05-31 15:47:52 +00:00
Bruce Evans
5a3e77d851
Fixed overflow in the calculation of the number of inodes per group
...
for filesystems with almost the maximum number of sectors. The maxiumum
is 2^31, but overflow is common for that size, and overflow normally
occurred here at size (2^31 - 4096).
1998-05-31 12:21:50 +00:00
Bruce Evans
5832a75246
Fixed imperfections in previous commit (a poor variable name,
...
excessive 64-bit arithmetic, and excessive changes).
1998-05-31 12:09:50 +00:00
Bruce Evans
4e7f14b237
Inherit BINDIR, don't set it here.
1998-05-31 11:41:53 +00:00
Bruce Evans
326f1e2f2f
Fixed double slashes in a pathname.
...
Fixed some style bugs. Ensure no creation of an obj directory so that
we don't need to chdir before installing.
1998-05-31 11:38:25 +00:00
Bruce Evans
67b780b03b
Fixed double slashes in pathnames.
1998-05-31 11:32:38 +00:00
Bruce Evans
78453399ec
Undocumented flags which went away a few minutes ago.
...
Undocumented auto FIFO trigger level adjustment which went away years ago.
1998-05-31 11:16:09 +00:00
Bruce Evans
cd55b8f46c
Converted the ICU-level interrupt tests (3, 5 and 8) in sioprobe() into
...
a test of the irq number, and made failure of this test non-fatal.
Removed related unused complications for the APIC_IO case. Removed the
no-test3 flag.
Deverbosified the failure messages for the other tests. Removed the
per-port verbose flag - just use the general verbose flag.
1998-05-31 10:53:55 +00:00
John Birrell
218a1b63d6
objformat is part of the i386 mid life identity crisis. On alpha, things
...
are in their normal places, so objformat isn't required.
1998-05-31 10:48:06 +00:00