| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: fullermd@over-yonder.net
MFC after: 3 days
Notes:
svn path=/head/; revision=343354
|
| |
|
|
|
|
|
| |
Use caph_{rights,ioctls,fcntls}_limit to simplify the code.
Notes:
svn path=/head/; revision=340138
|
| |
|
|
|
|
|
| |
No functional change intended.
Notes:
svn path=/head/; revision=335395
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=326025
|
| |
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
Notes:
svn path=/head/; revision=314436
|
| |
|
|
|
|
|
|
| |
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=308606
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=306761
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
Notes:
svn path=/head/; revision=284345
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=284172
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=266219
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=265802
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=248169
|
| | |
| |
| |
| | |
Notes:
svn path=/projects/bmake/; revision=246868
|
| |/
|
|
|
|
|
| |
Requested by: Simon Gerraty <sjg@juniper.net>
Notes:
svn path=/projects/bmake/; revision=239572
|
| |
|
|
|
|
|
|
| |
Submitted by: amdmi3
PR: bin/164317
Notes:
svn path=/head/; revision=231586
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=216370
|
| |
|
|
|
|
|
|
| |
They were already converted to use libulog, so it's easy to convert them
to utmpx.
Notes:
svn path=/head/; revision=202200
|
| |
|
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
Notes:
svn path=/head/; revision=201386
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=200160
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=173572
|
| |
|
|
| |
Notes:
svn path=/head/; revision=146466
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141851
|
| |
|
|
|
|
|
| |
Reviewed by: mux (mentor)
Notes:
svn path=/head/; revision=139718
|
| |
|
|
|
|
|
|
| |
LC_CTYPE setting instead of the receiver's when determining which
characters are printable.
Notes:
svn path=/head/; revision=132278
|
| |
|
|
|
|
|
| |
by POSIX.
Notes:
svn path=/head/; revision=131511
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=102944
|
| |
|
|
| |
Notes:
svn path=/head/; revision=97454
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95124
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92922
|
| |
|
|
|
|
|
| |
2) Add missing include of stdlib.h for exit(), spotted by gcc3.
Notes:
svn path=/head/; revision=91378
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87682
|
| |
|
|
|
|
|
|
| |
PR: docs/32128
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> (partially)
Notes:
svn path=/head/; revision=86672
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68963
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
| |
Notes:
svn path=/head/; revision=48566
|
| |
|
|
| |
Notes:
svn path=/head/; revision=29433
|
| |
|
|
| |
Notes:
svn path=/head/; revision=29431
|
| |
|
|
|
|
|
|
| |
Shut compiler warning about signal argument.
PR: 4466
Notes:
svn path=/head/; revision=29430
|
| |
|
|
| |
Notes:
svn path=/head/; revision=28794
|
| |
|
|
|
|
|
| |
writing to the tty while they are running because they don't.
Notes:
svn path=/head/; revision=24110
|
| |
|
|
| |
Notes:
svn path=/head/; revision=23012
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
|
|
|
| |
Pointed out by: bde
Notes:
svn path=/head/; revision=19193
|
| |
|
|
|
|
|
|
|
| |
Use _PATH_DEV instead of hard coded "/dev/"
Obtained from: OpenBSD, Jason Downs <downsj@OpenBSD.ORG>
Notes:
svn path=/head/; revision=19190
|
| |
|
|
|
|
|
| |
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
Notes:
svn path=/head/; revision=17891
|
| |
|
|
|
|
|
| |
Handle '\377' properly
Notes:
svn path=/head/; revision=12097
|
| |
|
|
|
|
|
| |
Fix uncontrol function for 8bit chars.
Notes:
svn path=/head/; revision=11916
|
| |
|
|
| |
Notes:
svn path=/head/; revision=11898
|
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|