| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
the platform ABI and as such does not belong in FBSDprivate.
__libc_tls_* functions do not have to be visible to outside world
at all.
|
|
|
|
| |
Reminded by: ru
|
| |
|
| |
|
| |
|
|
|
|
| |
enable it with _read_support_format_all().
|
|
|
|
| |
should be used instead of archive_read_data_into_buffer().
|
|
|
|
|
|
| |
message in the reader to the error message from the writer if the
error which occurred was in the writer. This avoids error messages
of "Empty error message" when extracting truncated archives.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
redeclared as static in res_debug.c.
Make __p_rcode_syms global and add it to Symbol map. The rest of
__p_??_syms are already global.
Choice of FBSD_1.0 version for these debug symbols seems strange and
should be revisited before symbol versioning is enabled for libc.so.7.
|
| |
|
|
|
|
|
|
| |
OpenSolaris. For more information please refer to:
http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unmount jail-friendly file systems from within a jail.
Precisely it grants PRIV_VFS_MOUNT, PRIV_VFS_UNMOUNT and
PRIV_VFS_MOUNT_NONUSER privileges for a jailed super-user.
It is turned off by default.
A jail-friendly file system is a file system which driver registers
itself with VFCF_JAIL flag via VFS_SET(9) API.
The lsvfs(1) command can be used to see which file systems are
jail-friendly ones.
There currently no jail-friendly file systems, ZFS will be the first one.
In the future we may consider marking file systems like nullfs as
jail-friendly.
Reviewed by: rwatson
|
|
|
|
|
|
|
|
| |
implementation, and mark it as deprecated. It will be removed entirely
in libarchive 3.0 (in FreeBSD 8.0?) but there's no reason for anyone to
use it instead of archive_read_data.
Approved by: kientzle
|
|
|
|
|
|
|
| |
THR_THREAD_LOCK and THR_THREAD_UNLOCK instead, this should fix wrong
lock level problem.
Bug reported by: ed dot maste at gmail dot com
|
| |
|
|
|
|
| |
spell lint(1) comments correctly.
|
|
|
|
| |
including type puns and avoidable casts.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
two values, the latter does not tend to have sign extension
and/or overflow bugs, and makes the code more obvious.
While I'm there, make use of a macro which is derived from
bin/ps/ps.c: ps_compat() to improve the readability of the
code.
Suggested by: bde
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
| |
Declare 'digest' local variable accordingly.
|
|
|
|
| |
expecting them, not int.
|
|
|
|
| |
prototypess of memset, memcpy and malloc respectively.
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
files, but used during archive creation. This change unbreaks
# tar -cf rcp.tar /bin/rcp
# tar -cf rcp-copy.tar @rcp.tar
# cmp rcp.tar rcp-copy.tar
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
skip over the end-of-entry padding instead of reading and discarding
it.
Considering that tar files normally have a block size of 10kB, this
isn't likely to avoid reading any data, but at least it makes the code
simpler and clearer.
|
|
|
|
| |
Thanks to: Joerg Sonnenberger
|
|
|
|
| |
Thanks to: Joerg Sonnenberger
|
|
|
|
| |
Thanks to: Joerg Sonnenberger
|
|
|
|
| |
Thanks to: Joerg Sonnenberger
|
|
|
|
| |
Thanks to: Joerg Sonnenberger
|
|
|
|
| |
Thanks to: Joerg Sonnenberger
|
|
|
|
| |
Thanks to: Joerg Sonnenberger
|
|
|
|
| |
(Left over from when read and write used to share this structure.)
|
|
|
|
|
|
|
|
|
|
| |
discards it, for use when the compression layer code doesn't know how to
skip data (e.g., everything other than the "none" compressor). This makes
format level code simpler because that code can now assume that the
compression layer always knows how to skip and will always skip exactly
the requested number of bytes.
Discussed with: kientzle (3 months ago)
|
|
|
|
|
|
| |
our implementation and OpenBSD's.
Requested by: des
|
|
|
|
|
|
|
|
|
| |
avoid downcasting issues. In particular, this change fixes
posix_memalign(3) for alignments greater than 2^31 on LP64 systems.
Make sure that NDEBUG is always set to be compatible with MALLOC_DEBUG. [1]
Reported by: [1] Lee Hyo geol <hyogeollee@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
trees that track all non-full runs for each bin. Use the red-black
trees to be able to guarantee that each new allocation is placed in the
lowest address available in any non-full run. This change completes the
transition to allocating from low addresses in order to reduce the
retention of sparsely used chunks.
If the run in current use by a bin becomes empty, deallocate the run
rather than retaining it for later use. The previous behavior had the
tendency to spread empty runs across multiple chunks, thus preventing
the release of chunks that were completely unused.
Generalize base_chunk_alloc() (and rename it to base_pages_alloc()) to
handle allocation sizes larger than the chunk size, so that it is
possible to support chunk sizes that are smaller than an arena object.
Reduce the minimum chunk size from 64kB to 8kB.
Optimize tracking of addresses for deleted chunks.
Fix a statistics bug for huge allocations.
|
|
|
|
| |
Reported by: Michal Mertl <mime@traveller.cz>
|
|
|
|
| |
enhancements.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with `pw lock', so that it's impossible to log into a locked account
using an alternative authentication mechanism, such as an ssh key.
This change affects only accounts locked with pw(8), i.e., having a
`*LOCKED*' prefix in their password hash field, so people still can
use a different pattern to disable password authentication only.
Mention all account management criteria in the manpage.
Approved by: maintainer (timeout)
PR: bin/71147
MFC after: 1 month
|
|
|
|
| |
Elf_Arhdr structures better.
|