#
4d65a7c6 |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
96f28686 |
|
20-Jun-2023 |
John Baldwin <jhb@FreeBSD.org> |
rpc.lockd: Remove set but unused variables. Reported by: GCC
|
#
1de7b4b8 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended.
|
#
29df5733 |
|
03-Jan-2014 |
Xin LI <delphij@FreeBSD.org> |
Use prototype.
|
#
64c06aeb |
|
23-May-2012 |
Xin LI <delphij@FreeBSD.org> |
Fix build: - Use %ll instead of %q for explicit long long casts; - Use %j instead of %q in XFS and cast to intmax_t. Tested with: make universe
|
#
3df5ecac |
|
30-Dec-2011 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Spelling fixes for usr.sbin/
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
a37175df |
|
24-Jul-2010 |
Rick Macklem <rmacklem@FreeBSD.org> |
Fix the include path for nfs_lock.h. MFC after: 2 weeks
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
0775314b |
|
24-Jun-2009 |
Doug Rabson <dfr@FreeBSD.org> |
Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation and will be removed.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
946289a5 |
|
16-Aug-2006 |
Maxim Konovalov <maxim@FreeBSD.org> |
o Style previous.
|
#
c6d0f16d |
|
16-Aug-2006 |
Thomas Quinot <thomas@FreeBSD.org> |
Use setproctitle(3) to provide identification of the client and server processes created by rpc.lockd. MFC after: 1 week
|
#
e91db40c |
|
26-May-2006 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Move call to ignore SIGPIPE signals before calling fork(), so that both parent and child processes ignore this signal. PR: bin/97768 Submitted by: Gea-Suan Lin <gslin at csie dot nctu dot edu dot tw> MFC after: 3 days
|
#
a856bed3 |
|
25-May-2006 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Ignore SIGPIPE signals on write() failures. We already check for write() failures and handle EPIPE. Failure to handle SIGPIPE was resulting in rpc.lockd terminating. PR: bin/97768 Reported by: Gea-Suan Lin <gslin at csie dot nctu dot edu dot tw> MFC after: 1 day
|
#
251bb62d |
|
16-Nov-2005 |
Hartmut Brandt <harti@FreeBSD.org> |
When a user is in more than 16 groups the call to authunix_create() will result in abort() beeing called. This is because there is a limit of the number of groups in the RPC which is 16. When the actual number of groups is too large it results in xdr_array() returning an error which, in turn, authunix_create() handles by just calling abort(). Fix this by passing only the first 16 groups to authunix_create().
|
#
7838f9dd |
|
20-May-2005 |
Philippe Charnier <charnier@FreeBSD.org> |
Add FBSDID. Add missing prototypes. Remove unused variables. Give variable an initial value to silent compiler.
|
#
d32c3b7d |
|
16-Mar-2005 |
Olivier Houchard <cognet@FreeBSD.org> |
Consumers of nfslockdans() seems to think it should return 0 on success, so make it so.
|
#
0cbf6231 |
|
06-Dec-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Userland change corresponding to the change in kernel/userland communication for NFS locking.
|
#
75e40e46 |
|
26-Oct-2003 |
Peter Wemm <peter@FreeBSD.org> |
Make this compile cleanly. It passes WARNS=2, but I haven't checked it is so on more platforms.
|
#
eda8b282 |
|
14-May-2003 |
Robert Watson <rwatson@FreeBSD.org> |
When getting back an NLM DENIED response for a requested lock from the server, map it to EAGAIN locally rather than EACCES. The NLM spec indicates the DENIED corresponds to lock contention, not a permission failure. This fixes O_EXLOCK/O_SHLOCK with O_NONBLOCK, which would previously give a permission error, which in turn fixes things like mailq(8) and lockf(1) over NFS. Approved by: scottl (re) Reviewed by: truckman, Andrew P Lentvorski, Jr. <bsder@allcaps.org> Idea from: truckman
|
#
f898f7c5 |
|
15-Aug-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred for LOCKD_MSG instead. Requested by: rwatson
|
#
09ce4f7a |
|
15-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Add IPv6 support. Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
|
#
755f5b77 |
|
12-Nov-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Fixup for WARNS.
|
#
32e9a249 |
|
11-Nov-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Drop privs while servicing kernel lock requests. Restore umask used before FIFO creation. If opening the FIFO fails, exit. Properly check the return value of open (use == -1 instead of < 0).
|
#
64b829d1 |
|
08-Nov-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
leverage fixed fifo implementation (rev 1.56 of src/sys/fs/fifofs/fifo_vnops.c) to serve locks better, my previous workaround for lack of decent fifo system wasn't cutting it, particularly the kernel would send a message down the fifo and immediately close it, this would lead to delayed unlock requests being seen by the lockd causing all sorts of badness. Basically, don't reopen the fifo, just select(2) on it.
|
#
9529c2d9 |
|
08-Nov-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
use syslog rather than printf so we can see what's going on in debug mode
|
#
955e1056 |
|
08-Nov-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
style fixes, fix line wrap and function declaration
|
#
91196234 |
|
18-Sep-2001 |
Peter Wemm <peter@FreeBSD.org> |
Userland part of nfs client/server split and cleanup.
|
#
5f8568ec |
|
25-Apr-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Fix compiling without -O, some dead code was using non-existant functions, make the code not automatically dead but actually use the debug level in order to determine if output is needed. Fix non-existant from_addr() by #define'ing it to inet_ntoa(). Remove hardcoded -g from Makefile. Reported by: "John W. De Boskey" <jwd@bsdwins.com> Tested by: "John W. De Boskey" <jwd@bsdwins.com>
|
#
b863595d |
|
18-Apr-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
remove debug code left in by accident
|
#
603c8667 |
|
17-Apr-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Implement client side NFS locks. Obtained from: BSD/os Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
|