#
b3e76948 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
d485c77f |
|
18-Feb-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
Remove #define _KERNEL hacks from libprocstat 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
|
#
245bfd34 |
|
20-May-2020 |
Ryan Moeller <freqlabs@FreeBSD.org> |
Deduplicate fsid comparisons 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
|
#
1de7b4b8 |
|
27-Nov-2017 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
various: general adoption of SPDX licensing ID tags. 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.
|
#
bf433194 |
|
12-Apr-2017 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Fix an issue in the rev.316718 causing variable to be unsed uninitialized. Reported by: Coverity Nudged by: cem MFC after: 2 weeks
|
#
591e89c8 |
|
11-Apr-2017 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Work around an issue with mksnap_ffs not working in chroot'ed environment. 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
|
#
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.
|
#
7f79e870 |
|
10-Oct-2010 |
Jaakko Heinonen <jh@FreeBSD.org> |
- Print the nmount(2) provided error message only when it is set. - Ensure that the error message is NUL-terminated before printing it. PR: bin/147482 MFC after: 2 weeks
|
#
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.
|
#
923f9901 |
|
02-Jun-2009 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Initialize iov and iovlen before use. Reported by: Lucius Windschuh <lwindschuh@googlemail.com>
|
#
c8cf3f3d |
|
29-May-2009 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Move from mount(2) to nmount(2). This should allow to convert MNT_SNAPSHOT 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.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
b697270a |
|
08-Dec-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make sure we don't pass garbage to the kernel. The filesystem is named "ufs" not "ffs".
|
#
a1b99708 |
|
27-Jan-2004 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Style nit in previous commit.
|
#
cea18497 |
|
27-Jan-2004 |
Kirk McKusick <mckusick@FreeBSD.org> |
Preserve acls option on mounts when taking a snapshot. Submitted by: Wiktor Niesiobedzki <freebsd-lists@w.evip.pl>
|
#
d62e0064 |
|
04-Nov-2003 |
Kirk McKusick <mckusick@FreeBSD.org> |
Check that the user running mksnap_ffs has permission to create and 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.
|
#
201747df |
|
29-Oct-2003 |
Tom Rhodes <trhodes@FreeBSD.org> |
style(9): sort functions.
|
#
91b6ac7c |
|
29-Oct-2003 |
Tom Rhodes <trhodes@FreeBSD.org> |
Properly prototype C function usage(). Sync usage() with the manual page: s/file/snapshot_name/g.
|
#
6d540f81 |
|
02-Mar-2003 |
Kirk McKusick <mckusick@FreeBSD.org> |
Close out a possible race where anybody in group operator could chown an arbitrary file to operator. Reported by: Ian Dowse <iedowse@maths.tcd.ie> Sponsored by: DARPA & NAI Labs.
|
#
d35ae777 |
|
01-Mar-2003 |
Kirk McKusick <mckusick@FreeBSD.org> |
Add the mksnap_ffs command to the sbin directory. This setuid root 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.
|