#
2a63c3be |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c comment pattern Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
#
3b887005 |
|
03-Oct-2022 |
John Baldwin <jhb@FreeBSD.org> |
rpc.lockd: Explicitly cast enum nlm_stats values to enum nlm4_stats. NLM 4 status values are a superset of the older NLM protocol so these casts are safe while pacifying -Wenum-conversion warnings from GCC. Reviewed by: rmacklem Differential Revision: https://reviews.freebsd.org/D36816
|
#
df57947f |
|
18-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
spdx: initial adoption of licensing ID tags. 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. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133
|
#
df9abd97 |
|
19-Jun-2017 |
Xin LI <delphij@FreeBSD.org> |
Check return value of seteuid() and bail out if we fail. MFC after: 2 weeks
|
#
b6ecea30 |
|
16-May-2016 |
Don Lewis <truckman@FreeBSD.org> |
Actually use the loop interation limit so carefully computed on the previous line to prevent buffer overflow. This turns out to not be important because the upstream xdr code already capped the object size at the proper value. Using the correct limit here looks a lot less scary and should please Coverity. Reported by: Coverity CID: 1199309, 1199310 MFC after: 1 week
|
#
29df5733 |
|
03-Jan-2014 |
Xin LI <delphij@FreeBSD.org> |
Use prototype.
|
#
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.
|
#
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.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
2d914e96 |
|
03-Feb-2005 |
Jun Kuriyama <kuriyama@FreeBSD.org> |
- Use svc_getrpccaller() rather than svc_getcaller() for using xt_rtaddr member of SVCXPRT structure. This allows to use IPv6 address stored in "struct sockaddr_storage" in "struct netbuf". - Output the reason of getnameinfo() error. Reviewed by: alfred
|
#
fbdef8fb |
|
09-Oct-2004 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Include <unistd.h> for {g,s}eteuid().
|
#
3d81d1ad |
|
15-Jul-2004 |
Michael Reifenberger <mr@FreeBSD.org> |
After talking to Colin, apply the patch of bin/61718 (which should include/elimatate kern/61122 also). It seems to fix a few annoying bugs. PR: bin/61718, kern/61122 Submitted by: bg@sics.se ohartman@mail.physik.uni-mainz.de
|
#
c0f7cd1a |
|
04-Mar-2004 |
Peter Pentchev <roam@FreeBSD.org> |
Make rpc.lockd bind to a reserved port, since there are NFS clients which ignore NLM requests not coming from a reserved port. PR: 56500 Submitted by: Jonathan Lennox <lennox@cs.columbia.edu> MFC after: 1 week
|
#
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.
|
#
1870b993 |
|
14-May-2003 |
Robert Watson <rwatson@FreeBSD.org> |
When receiving NLM_GRANTED_RES or NLM4_GRANTED_RES lock granted messages from the NFS server, following contention on a lock by this or another client, immediately notify the waiting process that the lock has been granted via a wakeup. Without this change, the client rpc.lockd will not wakeup the waiting process until it next re-polls the lock (sometime in the next ten seconds), which can lead to marked latency across all potential lockers, as the lock is held by the client for the duration. Approved by: re (scottl) Submitted by: truckman Reviewed by: Andrew P. Lentvorski, Jr <bsder@allcaps.org>
|
#
7bb4bf85 |
|
22-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Const fix.
|
#
efddf138 |
|
22-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
constify log_from_addr() parameter.
|
#
c4bc47ba |
|
21-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Bring code to WARNS=3 level. Mostly fix unused variables.
|
#
33314abe |
|
21-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove __P.
|
#
2663693c |
|
13-Nov-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Turn on NO_WERROR and set WARNS to 1. Fix the WARNS 1 warnings except unused variables. Add prototype for log_netobj(). Don't compare signed/unsigned. Cast u_int64_t to 'unsigned long long' and print using %llu. Fix constness of string arrays. Use a cast to avoid an unused parameter in a signal handler. alarm(2) can't fail, so don't check for it. ANSI'ify some functions.
|
#
a95a0d36 |
|
12-Nov-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
fix parameters to lock_answer(). Submitted by: Timo Geusch <freebsd@unix-consult.com>
|
#
bad584e3 |
|
14-Oct-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Implement partial-file NFS lock testing. Submitted by: "Andrew P. Lentvorski" <andrewl@io.com>
|
#
c20e578f |
|
27-Apr-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Distinguish between rpc version numbers in the client cache to avoid replying on the wrong port.
|
#
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
|
#
8360efbd |
|
18-Mar-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
|