#
1d386b48 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
72e70904 |
|
19-Jan-2023 |
Gordon Bergling <gbe@FreeBSD.org> |
nfs: Fix a common typo in source code comments - s/ingore/ignore/ MFC after: 3 days
|
#
90e43b44 |
|
22-Nov-2019 |
Ravi Pokala <rpokala@FreeBSD.org> |
Add and document options to allow rpc.lockd and rpc.statd to run in the foreground. This allows a separate process to monitor when and how those programs exit. That process can then restart them if needed. Submitted by: Alex Burlyga Reviewed by: bcr, imp MFC after: 1 week Sponsored by: Panasas Differential Revision: https://reviews.freebsd.org/D22474
|
#
aec74e0c |
|
20-Sep-2019 |
Hiroki Sato <hrs@FreeBSD.org> |
Fix warnings and set WARNS=6.
|
#
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
|
#
06eae2c1 |
|
28-May-2016 |
Enji Cooper <ngie@FreeBSD.org> |
Mark out_of_mem(..) and usage(..) with __dead2 as they both directly call exit as a hint to static analysis tools MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
#
c9e1c304 |
|
29-Dec-2015 |
Ulrich Spörlein <uqs@FreeBSD.org> |
Fix type mismatches for malloc(3) and Co. This is rather pedantic, as for most architectures it holds that sizeof(type *) == sizeof(type **) Found by: clang static analyzer Reviewed by: ed Differential Revision: https://reviews.freebsd.org/D4722
|
#
9745de4c |
|
18-Jan-2015 |
Ryan Stone <rstone@FreeBSD.org> |
When mountd is creating sockets, it iterates over all addresses specified in the "hosts" array and eventually looks up the network address with getaddrinfo(). At one point it checks for a numeric address and if it sees one, it sets a hint parameter to force getaddrinfo to interpret the host as a numeric address. However that hint is not cleared for subsequent iterations of the loop and if any hosts seen after this point are host names, getaddrinfo will fail on the name. The result of this bug is that you cannot pass a host name to the -h flag. Unfortunately, the first iteration will either process ::1 or 127.0.0.1, so the flag is set on the first iteration and all host names will fail to be processed. The same bug applies to rpc.lockd and rpc.statd, so fix them too. Differential Revision: https://reviews.freebsd.org/D1507 Reported by: Dylan Martin MFC after: 1 week Sponsored by: Sandvine Inc.
|
#
6924e68e |
|
02-Jun-2011 |
Rick Macklem <rmacklem@FreeBSD.org> |
Fix the nfs related daemons so that they don't intermittently fail with "bind: address already in use". This problem was reported to the freebsd-stable@ mailing list on Feb. 19 under the subject heading "statd/lockd startup failure" by george+freebsd at m5p dot com. The problem is that the first combination of {udp,tcp X ipv4,ipv6} would select a port# dynamically, but one of the other three combinations would have that port# already in use. The patch is somewhat involved because it was requested by dougb@ that the four combinations use the same port# wherever possible. The patch splits the create_service() function into two functions. The first goes as far as bind(2) in a loop for up to GETPORT_MAXTRY - 1 times, attempting to use the same port# for all four cases. If these attempts fail, the last attempt allows the 4 cases to use different port #s. After this function has succeeded, the second function, called complete_service(), does the rest of what create_service() did. The three daemons mountd, rpc.lockd and rpc.statd all have a create_service() function that is patched in a similar way. However, create_service() has non-trivial differences for the three daemons that made it impractical to share the same functions between them. Reviewed by: jhb MFC after: 2 weeks
|
#
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.
|
#
4760d2ac |
|
06-Apr-2008 |
Alexander Kabaev <kan@FreeBSD.org> |
Fix apparent mis-paste in previous check-in by author.
|
#
0e7cce13 |
|
06-Apr-2008 |
Doug Rabson <dfr@FreeBSD.org> |
Call listen(2) on bound tcp sockets before passing them to svc_tli_create.
|
#
96e460ec |
|
07-Nov-2007 |
Matteo Riondato <matteo@FreeBSD.org> |
Check the correct variables for malloc failures. Submitted by: Michiel Boland <michiel@boland.org>
|
#
3c2ff3b0 |
|
01-Nov-2007 |
Matteo Riondato <matteo@FreeBSD.org> |
Add the -h <bindip> option to rpc.statd, similar to the one in nfsd(8) and in mountd(8) -h bindip Specify specific IP addresses to bind to for TCP and UDP requests. This option may be specified multiple times. If no -h option is specified, rpc.statd will bind to INADDR_ANY. Note that when specifying IP addresses with -h, rpc.statd will automatically add 127.0.0.1 and if IPv6 is enabled, ::1 to the list. (coming for rpc.lockd too) PR: bin/98500 MFC after: 1 week
|
#
f61a23ad |
|
05-Aug-2007 |
Don Lewis <truckman@FreeBSD.org> |
The call to init_file() needs to be moved outside the loop in statd.c, otherwise mmap() gets called multiple times, which eventually fails due to address space exhaustion on i386. Approved by: re (kensmith) MFC after: 1 week
|
#
74e69f9e |
|
03-Apr-2007 |
Matteo Riondato <matteo@FreeBSD.org> |
Add the "-p" option, which allows to specify a port which the daemon should bind to. PR: bin/94920 Reviewed by: alfred@ MFC after: 1 week
|
#
e55942e3 |
|
12-Sep-2006 |
Philippe Charnier <charnier@FreeBSD.org> |
compile under WARNS=6
|
#
1c38ed81 |
|
04-Apr-2004 |
Philippe Charnier <charnier@FreeBSD.org> |
Add FBSDID. Use getopt(3).
|
#
bcb53b16 |
|
16-Jan-2003 |
Martin Blapp <mbr@FreeBSD.org> |
Implement nonblocking tpc-connections. rpcgen -m does still produce backcompatible code. Reviewed by: rwatson Obtained from: NetBSD MFC after: 1 day
|
#
ae23eaed |
|
15-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Nuke unused variable.
|
#
af37179b |
|
15-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Port to TI/RPC and/or IPV6. Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
|
#
bf117eda |
|
11-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
make mostly WARNS=4 clean. constify, mark unsued args, fixup prototypes.
|
#
96e33c21 |
|
11-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
include string.h for strcmp(3) prototype.
|
#
732c957c |
|
05-Oct-1999 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Undo previous change. Submitted by: bde
|
#
3cf3c5d9 |
|
29-Sep-1999 |
Marcel Moolenaar <marcel@FreeBSD.org> |
sigset_t change (part 5 of 5) ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
|
#
97d92980 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
df82e9ba |
|
13-Oct-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Use err(3). Add usage() and #includes.
|
#
a60dc5e0 |
|
31-Mar-1996 |
Peter Wemm <peter@FreeBSD.org> |
Some minor tweaks for statd - use rpcgen to generate unmodified code instead of havinf it in the repository - use "natural" function names to avoid conflicts with prototypes etc.
|
#
1494289f |
|
17-Feb-1996 |
Peter Wemm <peter@FreeBSD.org> |
Import Jan 15 version of Andrew Gordon <andrew.gordon@net-tel.co.uk>'s rpc.statd. This is apparently fully functional and complete.
|