| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make sys/buf.h, sys/pipe.h, sys/fs/devfs/devfs*.h headers usable in
userspace, assuming that the consumer has an idea what it is for.
Unhide more material from sys/mount.h and sys/ufs/ufs/inode.h,
sys/ufs/ufs/ufsmount.h for consumption of userspace tools, with the
same caveat.
Remove unacceptable hack from usr.sbin/makefs which relied on sys/buf.h
being unusable in userspace, where it override struct buf with its own
definition. Instead, provide struct m_buf and struct m_vnode and adapt
code to use local variants.
Reviewed by: mckusick
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D28679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Comparing fsid_t objects requires internal knowledge of the fsid structure
and yet this is duplicated across a number of places in the code.
Simplify by creating a fsidcmp function (macro).
Reviewed by: mjg, rmacklem
Approved by: mav (mentor)
MFC after: 1 week
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D24749
Notes:
svn path=/head/; revision=361313
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.
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.
No functional change intended.
Notes:
svn path=/head/; revision=326276
|
|
|
|
|
|
|
| |
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=325188
|
|
|
|
|
|
|
|
|
| |
Reported by: Coverity
Nudged by: cem
MFC after: 2 weeks
Notes:
svn path=/head/; revision=316738
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem is that the statfs(2) system call used to determine the relevant
mount point returns path within real root in the f_mntonname, causing
nmount(2) system call to fail with ENOENT.
Use a bit of heuristics to skip over few starting path elements when it
happens until we hit an actual mount point.
For this to work properly the whole mount should be accessible within the
chroot, it's going to still fail if chroot only has access to a part of the
mounted fs.
Reviewed by: mckusick
Approved by: mckusick
MFC after: 2 weeks
Notes:
svn path=/head/; revision=316718
|
|
|
|
|
|
|
|
|
|
| |
This simplifies make logic/output
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=314656
|
|
|
|
|
|
|
|
|
|
| |
PR: 212510
Approved by: bcr (mentor)
MFC after: 4 days
Differential Revision: https://reviews.freebsd.org/D8105
Notes:
svn path=/head/; revision=306607
|
|
|
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
Notes:
svn path=/projects/release-pkg/; revision=295450
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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=274683
|
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
The executable itself doesn't contain any privileged information.
An example of where this is useful is when makefs(8) is creating an image
that includes /sbin/shutdown. This can now be done without root privileges.
Reviewed by: delphij
Discussed with: delphij, des
CR: https://reviews.freebsd.org/D662
Notes:
svn path=/head/; revision=270289
|
|
|
|
|
|
|
|
|
| |
PR: docs/151104
Submitted by: Aldis Berjoza <aldis@bsdroot.lv>
MFC after: 3 days
Notes:
svn path=/head/; revision=218700
|
|
|
|
|
|
|
|
|
|
| |
- Ensure that the error message is NUL-terminated before printing it.
PR: bin/147482
MFC after: 2 weeks
Notes:
svn path=/head/; revision=213668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bottom of the manpages and order them consistently.
GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.
Found by: mdocml lint run
Reviewed by: ru
Notes:
svn path=/head/; revision=208027
|
|
|
|
|
|
|
| |
Submitted by: Ulrich Spörlein
Notes:
svn path=/head/; revision=198236
|
|
|
|
|
|
|
|
|
| |
PR: 138833
Submitted by: Alex Keda <admin@lissyara.su>
MFC after: 3 days
Notes:
svn path=/head/; revision=197275
|
|
|
|
|
|
|
| |
Reported by: Lucius Windschuh <lwindschuh@googlemail.com>
Notes:
svn path=/head/; revision=193333
|
|
|
|
|
|
|
|
|
|
|
| |
flag from a mount flag to FS-specific flag.
- Simplify usage. Instead of 'mksnap_ffs /mnt/foo /mnt/foo/snap' allow to
give only one argument: 'mksnap_ffs /mnt/foo/snap'. Old usage is also
accepted for now.
- Add an example of how to mount a snapshot.
Notes:
svn path=/head/; revision=193051
|
|
|
|
|
|
|
|
| |
Submitted by: pho
MFC after: 3 days
Notes:
svn path=/head/; revision=180822
|
|
|
|
|
|
|
| |
The filesystem is named "ufs" not "ffs".
Notes:
svn path=/head/; revision=138559
|
|
|
|
| |
Notes:
svn path=/head/; revision=125107
|
|
|
|
|
|
|
| |
Submitted by: Wiktor Niesiobedzki <freebsd-lists@w.evip.pl>
Notes:
svn path=/head/; revision=125103
|
|
|
|
|
|
|
|
|
|
| |
remove a snapshot file from the directory in which they have requested
to have it made. If they do not have write permission in the directory
or the directory is sticky and not owned by the user, then they
will not be able to remove the snapshot when they are done with it.
Notes:
svn path=/head/; revision=122035
|
|
|
|
| |
Notes:
svn path=/head/; revision=121707
|
|
|
|
|
|
|
| |
Sync usage() with the manual page: s/file/snapshot_name/g.
Notes:
svn path=/head/; revision=121706
|
|
|
|
| |
Notes:
svn path=/head/; revision=119845
|
|
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=115288
|
|
|
|
|
|
|
|
|
|
| |
chown an arbitrary file to operator.
Reported by: Ian Dowse <iedowse@maths.tcd.ie>
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=111725
|
|
program allows users in the operator group to take filesystem
snapshots. Its first use will be in support of `dump -L'.
Approved by: Technical Review Board <trb@FreeBSD.org>
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=111716
|