| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Approved by:	re (kib)
Reminded by:	kensmith
Notes:
    svn path=/releng/7.1/; revision=186367
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Update our resolver to BIND 9.4.3.
It includes the following fix:
  2426.   [bug]           libbind: inet_net_pton() can sometimes return the
                          wrong value if excessively large netmasks are
                          supplied. [RT #18512]
Reported by:	Maksymilian Arciemowicz <cxib__at__securityreason.com>
Approved by:	re (kib)
Notes:
    svn path=/releng/7.1/; revision=186221
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
sizeof(size_t), i.e. on all 64-bit platforms.
Approved by:	re (kib)
Notes:
    svn path=/releng/7.1/; revision=186042
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
The times(3) function returns the number of CLK_TCKs since the
startup time of FreeBSD, not since the UNIX Epoch.
PR:           docs/122359
Submitted by: Viktor Štujber
Approved by:  re (kib)
Notes:
    svn path=/releng/7.1/; revision=185705
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Add the ffsll and flsll functions. These are ffs and fls operating
on long long arguments.
Approved by:	re (kensmith)
Notes:
    svn path=/stable/7/; revision=185025
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
causes the symbol table to include the size of the function.
Approved by:	re (kib)
Notes:
    svn path=/stable/7/; revision=184939
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Revert to preferring mmap(2) over sbrk(2) when mapping memory, due
	to potential extreme contention in the kernel for multi-threaded
	applications on SMP systems.
Approved by:	re (kib)
Notes:
    svn path=/stable/7/; revision=184819
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Small cleanups to openpty().
  - Pass O_NOCTTY to posix_openpt(2). This makes the implementation work
    consistently on implementations that make the PTY the controlling TTY
    by default.
  - Call unlockpt() before opening the slave device. POSIX mentions that
    de slave device should only be opened after grantpt() and unlockpt()
    have been called.
  - Replace some redundant code by a label.
As a safety net, add a call to revoke() to unlockpt(). All applications
out there use openpty(), explicitly call revoke() or implement their own
PTY allocation routines. Adding the call to unlockpt() won't hurt, but
will prevent foot-shooting.
Reviewed by:	jhb, kib
Approved by:	re
Notes:
    svn path=/stable/7/; revision=184300
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Approved by:	re (kib)
Notes:
    svn path=/stable/7/; revision=183553
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Document WNOWAIT.
Approved by:	re (kensmith)
Notes:
    svn path=/stable/7/; revision=183185
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
The libc acl_valid(3) function validates the contents of a POSIX.1e ACL.
  This change removes the requirement that an ACL contain no ACL_USER
  entries with a uid the same as those of a file, or ACL_GROUP entries
  with a gid the same as those of a file.  This requirement is not in the
  specification, and not enforced by the kernel's ACL implementation.
  Reported by:    Iustin Pop <iusty at k1024 dot org>
Notes:
    svn path=/stable/7/; revision=182534
 | 
| | 
| 
| 
| 
| 
| 
|  | 
uninitialized variables.
Notes:
    svn path=/stable/7/; revision=182495
 | 
| | 
| 
| 
|  | 
Notes:
    svn path=/stable/7/; revision=182494
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Add EPERM to the ERRORS section.
PR: 125746
Notes:
    svn path=/stable/7/; revision=182420
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Import the uuid_enc_le(), uuid_dec_le(), uuid_enc_be() and
uuid_dec_be() functions. These routines are not part of the
DCE RPC API. They are provided for convenience.
Reviewed by:	marcel
Obtained from:	NetBSD
Notes:
    svn path=/stable/7/; revision=182409
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
* Enhance the chunk map to support run coalescing, and substantially reduce
  the number of red-black tree operations performed.
* Remove unused code.
* Fix arena_run_reg_dalloc() to use the entire precomputed division table.
* Improve lock preemption performance for hyperthreaded CPUs.
Notes:
    svn path=/stable/7/; revision=181788
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Detect if the application has cleared the environ variable by setting
the first value (environ[0]) to NULL.  This is in addition to the
current detection of environ being replaced, which includes being set to
NULL.  Without this fix, the environment is not truly wiped, but appears
to be by getenv() until an *env() call is made to alter the enviroment.
This change is necessary to support those applications that use this
method for clearing environ such as Dovecot and Postfix.  Applications
such as Sendmail and the base system's env replace environ (already
detected).  While neither of these methods are defined by SUSv3, it is
best to support them due to historic reasons and in lieu of a clean,
defined method.
Add extra units tests for clearing environ using four different methods:
1. Set environ to NULL pointer.
2. Set environ[0] to NULL pointer.
3. Set environ to calloc()'d NULL-terminated array.
4. Set environ to static NULL-terminated array.
Noticed by:	Timo Sirainen
Reviewed by:	ache
Notes:
    svn path=/stable/7/; revision=181407
 | 
| | 
| 
| 
| 
| 
| 
|  | 
mkstemps(), and mkdtemp().
Notes:
    svn path=/stable/7/; revision=181306
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Update this manual page to describe the extattr_list_file() and the
extattr_list_fd() functions.
PR:		108142
Submitted by:	Richard Dawe <rich@phekda.gotadsl.co.uk>
Reviewed by:	kientzle
Notes:
    svn path=/stable/7/; revision=181259
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Submitted by:	ed
Notes:
    svn path=/stable/7/; revision=181181
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Update the ktr_header structure, which changed over time.
  PR:             125546
  Submitted by:   Mateusz Guzik <mjguzik at gmail dot com>
  MFC after:      3 days
Notes:
    svn path=/stable/7/; revision=181179
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Remove useless call to getdtablesize(2) in fdopen(3) and its useless
  variable nofile.
  PR:             123109
  Submitted by:   Christoph Mallon
  Approved by:    rwatson (mentor)
  MFC after:      1 month
Notes:
    svn path=/stable/7/; revision=180933
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
and assignment.  This is mostly synched up with what is in HEAD with the
following exceptions:
- I didn't MFC any of the interrupt binding stuff as it requires other
  changes and I figured this change was large enough as it is.
- The sched_affinity() implementation for ULE in HEAD depends on the newer
  CPU topology stuff as well as other changes in ULE.  Rather than
  backport all of that, I implemented sched_affinity() using the existing
  CPU topology and ULE code in 7.x.  Thus, any bugs in the ULE affinity
  stuff in 7 are purely my fault and not Jeff's.
Note that, just as in HEAD, cpusets currently don't work on SCHED_4BSD (the
syscalls will succeed, but they don't have any effect).
Tested by:	brooks, ps
Notes:
    svn path=/stable/7/; revision=180808
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
this page).
Submitted by:	Kostik Belousov
Notes:
    svn path=/stable/7/; revision=180793
 | 
| | 
| 
| 
|  | 
Notes:
    svn path=/stable/7/; revision=180789
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
the SVN server went strange (repoman. crashed I believe).
Obtained from:	 Cisco IronPort
Notes:
    svn path=/stable/7/; revision=180783
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
See the commit message for
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/net/route.c
version 1.129 (svn change # 178888) for more info.
Obtained from:	 Ironport (Cisco Systems)
Notes:
    svn path=/stable/7/; revision=180774
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Xref flopen.3 which references this manual page.
PR: 112650
Notes:
    svn path=/stable/7/; revision=180501
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
- remove superfluous word
- remove contractions
Notes:
    svn path=/stable/7/; revision=180444
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
- This code was intially obtained from NetBSD, but it's missing licence
  statement. Add the one from the current NetBSD version.
- Add description about a missing return value [1]
PR:		docs/75995
Submitted by:	Tarc <tarc@po.cs.msu.su>
Notes:
    svn path=/stable/7/; revision=180441
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
- Mark the section describing return values with an appropriate
  section flag.
PR:		docs/122818
Notes:
    svn path=/stable/7/; revision=180117
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
- add description of the MLINK error
  - bump a date
PR:		docs/123019
Notes:
    svn path=/stable/7/; revision=180114
 | 
| | 
| 
| 
|  | 
Notes:
    svn path=/stable/7/; revision=179980
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
* Implement more compact red-black trees, thus reducing memory usage
  by ~0.5-1%.
* Add a separate tree to track dirty-page-containing chunks, thus
  improving worst case allocation performance.
* Fix a deadlock in base_alloc() for the error (OOM) path.
* Catch integer overflow for huge allocations when using sbrk(2).
* Fix bit vector initialization for run headers.  This fix has no
  practical impact for correct programs.  Incorrect programs will
  potentially experience allocation failures rather than memory
  corruption, both of which are "undefined behavior".
Notes:
    svn path=/stable/7/; revision=179836
 | 
| | 
| 
| 
| 
| 
| 
|  | 
forward ABI compatibility for fcntl to the thread libraries.
Notes:
    svn path=/stable/7/; revision=179608
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
FBSD_1.1 symbol back to RELENG_7 (MFC of rev. 1.4).
Requested by:	deischen
Notes:
    svn path=/stable/7/; revision=179369
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Obtained from:	OpenBSD
Notes:
    svn path=/stable/7/; revision=179367
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
to RELENG_7:
  Add __FBSDID() tags.
Notes:
    svn path=/stable/7/; revision=179149
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
rev. 1.15 of lib/libc/gen/readdir.c
rev. 1.11 of lib/libc/gen/telldir.c
rev. 1.3  of lib/libc/gen/telldir.h
Do not read away the target directory entry when encountering deleted
files after a seekdir().
The seekdir shall set the position for the next readdir operation.
When the _readdir_unlocked() encounters deleted entry, dd_loc is
already advanced. Continuing the loop leads to premature read of
the target entry.
Submitted by:	Marc Balmer <mbalmer at openbsd org>
Obtained from:	OpenBSD
Notes:
    svn path=/stable/7/; revision=179117
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
RELENG_7:
  Correct minor typos in SCTP man pages.
Notes:
    svn path=/stable/7/; revision=178919
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
scandir(3) previously used st_size to obtain an initial estimate
  of the array length needed to store all the directory entries.
  Although BSD has historically guaranteed that st_size is the size
  of the directory file, POSIX does not, and more to the point, some
  recent filesystems such as ZFS use st_size to mean something else.
  The fix is to not stat the directory at all, set the initial
  array size to 32 entries, and realloc it in powers of 2 if that
  proves insufficient.
  PR:	113668
Notes:
    svn path=/stable/7/; revision=178805
 | 
| | 
| 
| 
|  | 
Notes:
    svn path=/stable/7/; revision=178789
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Have the man page catch up with the namespace pollution cleanup that
occurred between 2001-2003.  Thanks to bde for the history lesson[1]
concerning sys/types.h and the many system calls that at one time
(pre-2001) were required by POSIX to include it.
1. http://lists.freebsd.org/pipermail/freebsd-arch/2008-April/008126.html
    src/lib/libc/sys/mkdir.2: rev 1.25 -> 1.26
Notes:
    svn path=/stable/7/; revision=178702
 | 
| | 
| 
| 
| 
| 
| 
|  | 
SHRT_MAX.
Notes:
    svn path=/stable/7/; revision=178665
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Don't allocate the constant array "props" on the stack in wctype.
  PR:             74743
  Submitted by:   knut st. osmundsen
  Approved by:    rwatson (mentor)
  MFC after:      1 month
Notes:
    svn path=/stable/7/; revision=178592
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
1.17: Better strfmon(3) conversion specifiers sanity checking.
     1.18: Fix memory leaks.
Notes:
    svn path=/stable/7/; revision=178415
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Introduce a new F_DUP2FD command to fcntl(2), for compatibility with
  Solaris and AIX.
  fcntl(fd, F_DUP2FD, arg) and dup2(fd, arg) are functionnaly equivalent.
  Document it.
  Add some regression tests (identical to the dup2(2) regression tests).
  PR:             120233
  Submitted by:   Jukka Ukkonen
  Approved by:    rwaston (mentor)
  MFC after:      1 month
Notes:
    svn path=/stable/7/; revision=178353
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Reduce lock contention by replacing mutex with rwlock.
Notes:
    svn path=/stable/7/; revision=178142
 | 
| | 
| 
| 
|  | 
Notes:
    svn path=/stable/7/; revision=178061
 | 
| | 
| 
| 
|  | 
Notes:
    svn path=/stable/7/; revision=178052
 |