|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
1d386b48 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| #
cccdaf50 |
| 07-Jul-2023 |
Alfonso Gregory <[email protected]> |
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dea
Mark usage function as __dead2 in programs where it does not return
In most cases, usage does not return, so mark them as __dead2. For the cases where they do return, they have not been marked __dead2.
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/735
show more ...
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
27ed53c3 |
| 23-Jan-2019 |
Mark Johnston <[email protected]> |
Remove extraneous setutxent() calls in write(1).
We already call setutxent() once during initialization. Furthermore, the subsequent calls occur after the process has entered capability mode, so th
Remove extraneous setutxent() calls in write(1).
We already call setutxent() once during initialization. Furthermore, the subsequent calls occur after the process has entered capability mode, so they fail, and attempts to fetch database entries fail as a result.
PR: 235096 Submitted by: [email protected] MFC after: 3 days
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
377421df |
| 04-Nov-2018 |
Mariusz Zaborski <[email protected]> |
capsicum: use a new capsicum helpers in tools
Use caph_{rights,ioctls,fcntls}_limit to simplify the code.
|
|
Revision tags: release/11.2.0 |
|
| #
7672a014 |
| 19-Jun-2018 |
Mariusz Zaborski <[email protected]> |
Convert `cap_enter() < 0 && errno != ENOSYS` to `caph_enter() < 0`.
No functional change intended.
|
| #
8a16b7a1 |
| 20-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier f
General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.
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.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
fbbd9655 |
| 28-Feb-2017 |
Warner Losh <[email protected]> |
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <[email protected]> Pull Request: https://github.com/freebsd/freebsd/pull/96
show more ...
|
| #
38adbfe6 |
| 06-Oct-2016 |
Conrad Meyer <[email protected]> |
write(1): Capsicumify
Enter Capsicum capability sandbox pretty early in this setuid program.
Some minor modifications were needed to cache directory fds and use relative lookups.
Rights restrictio
write(1): Capsicumify
Enter Capsicum capability sandbox pretty early in this setuid program.
Some minor modifications were needed to cache directory fds and use relative lookups.
Rights restriction of the stdio descriptors is unfortunately pretty messy because we need an ioctl capability not present in the current libcapsicum helpers (FIODGNAME).
Reviewed by: ed Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D7999
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0 |
|
| #
0de6400b |
| 13-Feb-2012 |
Gleb Smirnoff <[email protected]> |
Fix write(1) to support wide characters.
Submitted by: amdmi3 PR: bin/164317
|
|
Revision tags: release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
| #
da52b4ca |
| 11-Dec-2010 |
Joel Dahl <[email protected]> |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $F
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
show more ...
|
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0 |
|
| #
ab90a4d1 |
| 13-Jan-2010 |
Ed Schouten <[email protected]> |
Perform all trivial ports to utmpx for usr.bin/.
They were already converted to use libulog, so it's easy to convert them to utmpx.
|
| #
50950530 |
| 05-Dec-2009 |
Ed Schouten <[email protected]> |
Let wall(1) use utmpx.
Because our implementation guarantees the strings inside struct utmpx to be null terminated, we don't need to copy everything out, which makes the code nicer to read.
Also se
Let wall(1) use utmpx.
Because our implementation guarantees the strings inside struct utmpx to be null terminated, we don't need to copy everything out, which makes the code nicer to read.
Also set WARNS to 6 and add $FreeBSD$ to keep SVN happy.
show more ...
|
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
| #
a4cc298a |
| 12-Nov-2007 |
John Baldwin <[email protected]> |
write(1) needs to strip off the leading /dev/ from the tty name for the current tty as returned from ttyname(3) so it can try to avoid writing to the current tty if possible. Previously, it did this
write(1) needs to strip off the leading /dev/ from the tty name for the current tty as returned from ttyname(3) so it can try to avoid writing to the current tty if possible. Previously, it did this by trimming off any leading directory (effectively performing a basename(3) on the path returned from ttyname(3)). However, this chopped off too much of the path for ttys who have directories in their name such as pts(4). Instead, just strip off the leading /dev/ from the path returned by ttyname(3). This fixes write(1) when using pts(4).
MFC after: 1 week Reported by: rwatson
show more ...
|
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0 |
|
| #
e4bac6b8 |
| 05-Jan-2005 |
Olivier Houchard <[email protected]> |
Fix a typo in comment.
Reviewed by: mux (mentor)
|
|
Revision tags: release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
| #
f4ac32de |
| 04-Sep-2002 |
David Malone <[email protected]> |
ANSIify function definitions. Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings.
R
ANSIify function definitions. Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings.
Reviewed by: md5
show more ...
|
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
| #
759484ba |
| 29-May-2002 |
Tim J. Robbins <[email protected]> |
Use getopt() to reject any options and skip "--" arguments.
|
| #
3f330d7d |
| 22-Mar-2002 |
Warner Losh <[email protected]> |
remove __P
|
| #
421dfbcf |
| 27-Feb-2002 |
David Malone <[email protected]> |
1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID. 2) Add missing include of stdlib.h for exit(), spotted by gcc3.
|
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
| #
9ba3a235 |
| 11-Dec-2001 |
Mark Murray <[email protected]> |
WARNS=2 fixes, use __FBSDID(), kill register keyword.
|
|
Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs |
|
| #
c3aac50f |
| 28-Aug-1999 |
Peter Wemm <[email protected]> |
$Id$ -> $FreeBSD$
|
| #
9ef5c48b |
| 04-Jul-1999 |
Bill Fumerola <[email protected]> |
Clean up some ambiguous nested if/elses.
|
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6, release/2.2.5_cvs |
|
| #
fe38e2f8 |
| 15-Sep-1997 |
Andrey A. Chernov <[email protected]> |
Allow backspace too
|
| #
07484d1f |
| 15-Sep-1997 |
Andrey A. Chernov <[email protected]> |
Oops, fix upper controls test
|
| #
77caf211 |
| 15-Sep-1997 |
Andrey A. Chernov <[email protected]> |
Localize it. High controls disabled in any case. Shut compiler warning about signal argument. PR: 4466
|
| #
29909ffe |
| 26-Aug-1997 |
Philippe Charnier <[email protected]> |
Use err(3). Add usage() and prototypes.
|