| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
for directories. bsdtar used to add this, but that recently got
lost somehow. So now I'm adding it back in libarchive.
The only odd part of doing this in libarchive: Adding a directory to
a tar archive and then reading it back again can yield a different name.
Add a test case to exercise some boundary conditions with
tar filenames and ensure that trailing slashes are added to
dir names only as necessary.
Thanks to: Oliver Lehmann for bringing this regression to my attention.
|
|
|
|
| |
If we can't create the dir, just give up.
|
|
|
|
|
|
| |
conditionally use utime() when utimes() is not available;
allow the most common wide-char functions to be replaced
when local alternatives are lacking.
|
|
|
|
|
|
|
|
| |
which has already been freed by in_ifdetach(). With this cumulative change,
the removal of a member interface will not cause a panic in pfsync(4).
Requested by: yar
PR: 86848
|
|
|
|
|
|
|
|
| |
- We need to allow for PRIV_VFS_MOUNT_OWNER inside a jail.
- Move security checks to vfs_suser() and deny unmounting and updating
for jailed root from different jails, etc.
OK'ed by: rwatson
|
| |
|
|
|
|
|
|
|
|
|
|
| |
than 2GB of RAM. This was because our physmem is long and 'physmem*PAGESIZE'
can be negative for more than 2GB of memory.
Reported by: Andrey V. Elsukov <bu7cher@yandex.ru>
It is not yet tested by Andrey, so there can be other problems, but this
was definiately a bug, so I'm committing a fix now.
|
| |
|
|
|
|
|
| |
Submitted by: R.Mahmatkhanov
MFC after: 10 days
|
|
|
|
| |
Thanks to: Martin Koeppe for testing on Interix
|
|
|
|
|
|
| |
page boundary.
Reviewed by: ru@
|
| |
|
|
|
|
|
|
|
| |
correct test to -ge 5. Without this change an RFC3442 encoded default
route would be ignored.
Reported by: Cedric Jonas <cedric at decemplex dot net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tokens. Currently, we do not support the set{get}audit_addr(2) system
calls which allows processes like sshd to set extended or ip6
information for subject tokens.
The approach that was taken was to change the process audit state
slightly to use an extended terminal ID in the kernel. This allows
us to store both IPv4 IPv6 addresses. In the case that an IPv4 address
is in use, we convert the terminal ID from an struct auditinfo_addr to
a struct auditinfo.
If getaudit(2) is called when the subject is bound to an ip6 address,
we return E2BIG.
- Change the internal audit record to store an extended terminal ID
- Introduce ARG_TERMID_ADDR
- Change the kaudit <-> BSM conversion process so that we are using
the appropriate subject token. If the address associated with the
subject is IPv4, we use the standard subject32 token. If the subject
has an IPv6 address associated with them, we use an extended subject32
token.
- Fix a couple of endian issues where we do a couple of byte swaps when
we shouldn't be. IP addresses are already in the correct byte order,
so reading the ip6 address 4 bytes at a time and swapping them results
in in-correct address data. It should be noted that the same issue was
found in the openbsm library and it has been changed there too on the
vendor branch
- Change A_GETPINFO to use the appropriate structures
- Implement A_GETPINFO_ADDR which basically does what A_GETPINFO does,
but can also handle ip6 addresses
- Adjust get{set}audit(2) syscalls to convert the data
auditinfo <-> auditinfo_addr
- Fully implement set{get}audit_addr(2)
NOTE: This adds the ability for processes to correctly set extended subject
information. The appropriate userspace utilities still need to be updated.
MFC after: 1 month
Reviewed by: rwatson
Obtained from: TrustedBSD
|
| |
|
|
|
|
|
|
|
|
|
|
| |
NFS-share anything. This way we can safely start mountd with
/etc/zfs/exports and mountd won't complain.
Pointed out by: ceri
- Move 'zfs volinit' before 'zfs mount -a' and 'zfs volfini' after
'zfs unmount -a'.
|
|
|
|
| |
open, so we not longer has to check if /etc/zfs/exports exists.
|
| |
|
|
|
|
|
|
|
|
| |
- Tune number of namecache entires better (based on desiredvnodes).
- Handle vfs_lowvnodes event by releasing requested number of name cache
entries, but no less than 5%.
Reported by: simokawa
|
|
|
|
|
| |
subsystems to release some vnodes. Implement backpressure based on
vfs_lowvnodes event (similar to vm_lowmem for memory).
|
|
|
|
|
| |
we don't do this and the file doesn't exist mountd(8) will abort.
o The mountd(8) daemon creates a pidfile, so use it.
|
|
|
|
|
| |
Requested by: ache
Explained how by: ru
|
| |
|
|
|
|
| |
Requested by: jhb
|
| |
|
|
|
|
| |
I may have other mentees that I have forgotten...
|
|
|
|
| |
Approved by: glebius (mentor)
|
|
|
|
|
|
| |
to globals, as per documentation.
Nudged by: Jeremie Le Hen
|
|
|
|
|
|
| |
-) Set correct sizes for plexes and volumes a subdisk has been removed.
Submitted by: Ulf Lilleengen <lulf_AT_freebsd.org>
|
|
|
|
|
|
| |
only consists of "/".
Submitted by: Ulf Lilleengen <lulf_AT_freebsd.org>
|
|
|
|
| |
Define PGEX_RSV.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Reported by: kris
Diagnosed by: alc
|
|
|
|
|
|
|
|
| |
Update the description of the "p6-div" and "p6-mul" events according
to the "Intel(r) 64 and IA-32 Architectures Software Developers
Manual Volume 3B: System Programming Guide, Part 2, November 2006".
Reported by: Harald Servat <redcrash at gmail dot com> [1]
|
| |
|
|
|
|
|
|
|
| |
user should not depend on the internal variables documented in
this man page.
MFC After: 2 weeks
|
|
|
|
| |
in the previous commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) The man page should describe the code, not the other way around.
2) Internal variables should not be documented or exposed, except in
controlled circumstances (i.e. - That's what the -C flag is for).
The variable should have been saved to the config file in save_config().
3) The next available userid doesn't get automatically updated. The
end-result is the same (user gets added with the correct uid),
but in an interactive session the default uid doesn't get updated in
the display.
So,
o Use the uidstart variable instead of uuid (bug #3)
o Actually save the variable to adduser.conf (bug #2)
o (bug #1 to be fixed in an upcomming commit to adduser.conf.5)
MFC After: 2 weeks
|
|
|
|
|
|
|
| |
Fix it for real.
Submitted by: Johnny Lee <johnny@bmtk.com>
MFC After: 2 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
Thanks to: Joerg Sonnenberger for pointing out the need and the technique.
|
|
|
|
|
|
| |
factor out the platform-specific configuration header a bit
more cleanly.
Suggested by: Joerg Sonnenberger
|
| |
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
don't clear and then set M_PKTHDR, m_gethdr sets it correctly
improve error handling on m_gethdr failure
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
| |
- Use consistent "get_lock_matching_unlock" function name in
debuglog().
|
|
|
|
|
| |
first port to be removed from the trunk would free the multicast list so
subsequent removed ports didnt have their multicast addresses removed.
|