| #
e236502a
|
| 02-Feb-2026 |
Brooks Davis <brooks@FreeBSD.org> |
clnt_broadcast(3): fix eachresult argument type
The `eachresult` argument is documented to take a function pointer of type:
bool_t (*)(caddr_t, struct sockaddr_in *)
It was declared to take a res
clnt_broadcast(3): fix eachresult argument type
The `eachresult` argument is documented to take a function pointer of type:
bool_t (*)(caddr_t, struct sockaddr_in *)
It was declared to take a resultproc_t which has historically been declared to be:
bool_t (*resultproc_t)(caddr_t, ...);
This overlapped well enough for currently supported ABIs where variadic arguments are passed in registers, but this declaration is misaligned with the documentation (resultproc_t takes three arguments) and will be fixed in a followup commit.
Fix the type to be non-variadic, matching callbacks, and define a convenience type of as most callbacks take something other than a char * as their first argument and need to be cast.
Effort: CHERI upstreaming Reviewed by: ngie, glebius, jhb Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D54940
show more ...
|
| #
e5d258c9
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .c pattern
Remove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/
|
| #
e5d258c9
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .c pattern
Remove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/
|
| #
8f8092f8
|
| 03-Jul-2018 |
Jilles Tjoelker <jilles@FreeBSD.org> |
rup: Fix -Wcast-align warnings
Fix possible strict aliasing issue (if time_t is the same size as int but not int but for example long) which also resulted in a false positive warning on systems with
rup: Fix -Wcast-align warnings
Fix possible strict aliasing issue (if time_t is the same size as int but not int but for example long) which also resulted in a false positive warning on systems with 64-bit time_t. Pointer casts are bad; we can just copy the time_t.
Elsewhere, avoid casting char * to int * by using memcpy().
Reviewed by: eadler Differential Revision: https://reviews.freebsd.org/D16075
show more ...
|
| #
7f08b09a
|
| 25-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
rup: compile with WARNS=6
|
| #
937d37fc
|
| 19-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325842 through r325998.
|
| #
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 opensou
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
show more ...
|
| #
8f8092f8
|
| 03-Jul-2018 |
Jilles Tjoelker <jilles@FreeBSD.org> |
rup: Fix -Wcast-align warnings
Fix possible strict aliasing issue (if time_t is the same size as int but not int but for example long) which also resulted in a false positive warning on systems with
rup: Fix -Wcast-align warnings
Fix possible strict aliasing issue (if time_t is the same size as int but not int but for example long) which also resulted in a false positive warning on systems with 64-bit time_t. Pointer casts are bad; we can just copy the time_t.
Elsewhere, avoid casting char * to int * by using memcpy().
Reviewed by: eadler Differential Revision: https://reviews.freebsd.org/D16075
show more ...
|
| #
7f08b09a
|
| 25-Jun-2018 |
Eitan Adler <eadler@FreeBSD.org> |
rup: compile with WARNS=6
|
| #
937d37fc
|
| 19-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325842 through r325998.
|
| #
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 opensou
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
show more ...
|
| #
5df9daab
|
| 04-Dec-2005 |
Philip Paeps <philip@FreeBSD.org> |
Catch up with 64bit time_t on sparc64. The rstat packet expects a 32bit time_t and times will look incorrect on machines with 64bit time_t.
PR: 88788 Submitted by: Keith White <Keith.White -at- si
Catch up with 64bit time_t on sparc64. The rstat packet expects a 32bit time_t and times will look incorrect on machines with 64bit time_t.
PR: 88788 Submitted by: Keith White <Keith.White -at- site.uottawa.ca> MFC after: 1 week
show more ...
|
| #
f682f10c
|
| 21-May-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
| #
ed838bb1
|
| 26-Oct-2003 |
Peter Wemm <peter@FreeBSD.org> |
More xdrproc_t warnings.
|
| #
fb468639
|
| 28-Apr-2002 |
Mark Murray <markm@FreeBSD.org> |
Style only; format function declarations, sort header includes, and use __FBSDID().
|
| #
2856a771
|
| 17-Oct-2001 |
Bill Fenner <fenner@FreeBSD.org> |
If the remote uptime is less than one minute, print the uptime in seconds instead of leaving the uptime field blank.
|
| #
b1a7433e
|
| 19-Jun-2001 |
Mike Heffner <mikeh@FreeBSD.org> |
Call clnt_destroy() to prevent exhausting resources.
PR: bin/14255 Reviewed by: Kenji Tomita <tommy@ti.com> MFC after: 2 weeks
|
| #
8360efbd
|
| 19-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
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
show more ...
|
| #
62f882d6
|
| 04-Sep-2000 |
Warner Losh <imp@FreeBSD.org> |
getopt and friends are declared in <unistd.h> getopt returns -1 not EOF.
|
| #
c3aac50f
|
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
| #
5c1bad31
|
| 01-Apr-1998 |
Daniel O'Callaghan <danny@FreeBSD.org> |
PR: bin/6193 Submitted by: Max Euston <meuston@jmrodgers.com> Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
|
| #
9e556974
|
| 15-Sep-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Silence a warning with a cast.
|
| #
692bc4fd
|
| 07-Aug-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Use err(3), so eliminate use of `argv0'.
|
| #
c115df18
|
| 22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
| #
1130b656
|
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|