delphij
6a40c2e8f1
- ANSIfy.
...
- Remove two unnecessary casts.
These changes would help gcc4 compile.
2006-06-05 18:22:13 +00:00
kib
4de8a3e010
Replace absolute addressing in the call instructions with position-independend
...
calls. This eliminates TEXTREL from libc, making its text segment relocatable.
PR: i386/85242
Approved by: kan (mentor)
MFC after: 1 month
2006-06-05 14:59:33 +00:00
rwatson
b01f756066
Add audit_submit.3 to the set of man pages built and installed with
...
libbsm. This interface is new as of OpenBSM 1.0 alpha 6.
Submitted by: csjp
Obtained from: TrustedBSD Project
2006-06-05 12:53:44 +00:00
delphij
5f36307f91
Include strings.h for bzero()
2006-06-05 08:51:14 +00:00
davidxu
be54fdbbff
Remove unused member.
2006-06-03 00:19:40 +00:00
davidxu
523fcb36a8
Remove unused member field m_queue.
2006-06-02 08:37:01 +00:00
maxim
b479e3f6b6
o Record a file offset for a last successfully parsed group file line.
...
If the initial buffer size (1KB) for the given group line is not big
enough, reset the offset. It helps to do not miss this line when
getrg() reallocates the larger buffer and tries to parse the line again.
PR: bin/52433, kern/55031, bin/83696, misc/97640, misc/98111
Submitted by: bsw71@mail.ru , Philip M. Gollucci, Justin Erenkrantz
Glanced at: nectar
MFC after: 1 month
2006-06-01 15:45:06 +00:00
maxim
38d68c5332
o Document the fact truncate(2) has no effect for !VDIR or !VREG files.
...
Submitted by: ceri
2006-06-01 14:20:43 +00:00
delphij
6e4a34202a
Explicitly request pre-zeroed memory instead of memset'ing our
...
own.
Ok'ed by: davidxu
2006-05-31 00:31:38 +00:00
ru
ae17e6dc54
Fix the output.
...
Noticed by: rodrigc
2006-05-27 09:04:43 +00:00
delphij
43da20f970
- Add include for libutil.h and string.h for prototype.
...
- Cast the rvalue to be compared with the result of
strlen() to size_t.
2006-05-25 04:01:04 +00:00
imp
d8754ee1e5
GC old a.out and K&R support.
2006-05-23 02:52:14 +00:00
marius
6e5a4bfa4c
GC these crt{begin,end}.c, which are unused since the last FreeBSD platform
...
switched to those created from GCC's crtstuff.c 4 years ago.
2006-05-22 19:30:02 +00:00
ache
8c58df695f
Reflect int -> size_t changes in glob.h
2006-05-22 06:53:35 +00:00
ache
c4b12e59b3
Reflect size_t changes in glob.h
...
Obtained from: NetBSD (mostly)
2006-05-22 06:33:19 +00:00
ache
38d8afc67c
Remove pending actions asked in comments for SHLIB_MAJOR bump, done.
...
Reviewed by: ume
2006-05-22 05:12:44 +00:00
ache
cdef42a42e
Remove the kludge, as asked in the Makefile:
...
# If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c.
Reviewed by: ume
2006-05-22 05:04:53 +00:00
ume
2d16d1ab8e
Bump library majro version for gethostbyaddr(3).
2006-05-21 15:15:21 +00:00
ume
34c051a94d
Nuke some compatibility crufts of resolver for 6.X and earlier.
...
X-MFC after: never
2006-05-21 11:29:26 +00:00
ume
dce008dac9
Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1 on 64 bit
...
arch.
X-MFC after: never
2006-05-21 11:27:28 +00:00
ume
c499297986
Return EAI_OVERFLOW instead of EAI_MEMORY when the supplied buffer is
...
too short. This conforms to RFC3493, POSIX and XPG6.
Obtained from: NetBSD
2006-05-21 11:22:31 +00:00
ume
2103e7a60f
Upgrade res_update(3) and the friends to BIND9's one excluding TSIG
...
support.
X-MFC after: never
2006-05-21 11:19:36 +00:00
ume
0cedd121cc
This commit was generated by cvs2svn to compensate for changes in r158782,
...
which included commits to RCS files with non-trunk default branches.
2006-05-21 11:10:07 +00:00
ume
c94e44e424
Vendor import of BIND 9.3.2
2006-05-21 11:10:07 +00:00
rodrigc
1b048fc4a5
Remove reference to "System call restart" in intro(2). intro(2) does not
...
have such a reference. Add a reference instead to SA_RESTART in
sigaction(2).
2006-05-20 21:49:03 +00:00
maxim
78e642c1bb
o .Xr strtonum(3).
...
MFC after: 1 week
2006-05-20 21:11:35 +00:00
jkim
48fe54ed7f
Correct decoding a string containing '/'.
...
PR: 97485
Submitted by: Mikko Tyolajarvi < mbsd at pacbell dot net >
2006-05-19 19:06:38 +00:00
davidxu
abd1aa54e6
Fix return value.
2006-05-17 05:14:45 +00:00
davidxu
c28c63ba32
get thread signal info.
2006-05-17 05:12:42 +00:00
davidxu
28aa53a45c
Export offsets of thread signal pending set and signal mask for debugger.
2006-05-17 04:59:59 +00:00
keramida
6bb3d81c63
* Document the fact that non-superusers cannot change file flags for
...
objects with SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK.
* Document that non-superusers cannot set or clear any SF_* flag
(setting fails with EPERM, clearing is silently ignored).
* Document that superusers cannot change any flag if one of
SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK is set and securelevel is
greater than 0.
* Document SF_SNAPSHOT and note that it is maintained by the
system and is, for this reason, impossible to set to clear by
any user.
PR: docs/33877
Submitted by: harti
Help by: George Marsellis <gam9478@njit.edu>
MFC after: 1 week
2006-05-16 20:24:41 +00:00
des
456f2593a5
Add a manual dependency on ssh_namespace.h.
...
Discussed with: ru
2006-05-13 21:38:16 +00:00
des
148092431d
Introduce a namespace munging hack inspired by NetBSD to avoid polluting
...
the namespace of applications which inadvertantly link in libssh (usually
through pam_ssh)
Suggested by: lukem@netbsd.org
MFC after: 6 weeks
2006-05-13 13:47:45 +00:00
ume
ab3eacdf31
Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:
...
http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html
gethostbyaddr_r() is changed as well.
It breaks ABI backward compatibility on 64 bit arch. So, we fix it
on 32 bit arch only for now.
Reported by: Rostislav Krasny <rosti.bsd@gmail.com>
2006-05-12 15:37:23 +00:00
davidxu
8c3ceaf20b
Save errno before calling pthread_mutex_lock because pthread_mutex_lock
...
may change errno unexpectly.
2006-05-11 09:10:33 +00:00
davidxu
975a6925fe
Add symbol versions: FBSD_1.0 and FBSDprivate.
2006-05-11 07:02:52 +00:00
jasone
2ed3ff7341
Increase the minimum chunk size by a power of two (32kB --> 64kB, assuming
...
4kB pages), in order to avoid dangerous rounding error when calculating
fullness limits during run promotion/demotion.
Convert a structure bitfield to a normal field in areana_run_t. This should
have been changed along with the other fields in revision 1.120.
2006-05-10 00:07:45 +00:00
davidxu
bbcf536040
In order to let new binutils can compile it, replace movl with
...
movw for segment saving and restoring.
Submitted by: Diego 'Flameeyes' Petteno flameeyes at gentoo dot org
2006-05-07 08:19:04 +00:00
bsd
bdb4511692
A few minor wording changes and a clarification about error conditions.
2006-05-03 17:33:29 +00:00
ume
90151bff3d
Fix alignment problem on AMD64.
...
Reported by: Pascal Hofstee <caelian__at__gmail.com>
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Tested by: Pascal Hofstee <caelian__at__gmail.com>
2006-05-02 23:02:32 +00:00
kientzle
1dca8f1e6a
Simplify some of the wide-character handling, inspired
...
in part by OpenBSD's not-quite-standard-compliant
standard libraries. (No loss of functionality,
just minor recoding to not rely on certain "standard"
facilities that weren't actually needed.)
2006-05-01 01:02:19 +00:00
kientzle
a86c768d03
Whitespace cleanup.
2006-05-01 00:55:44 +00:00
ume
86fb2d93f4
cache' couldn't co-exist with
compat'.
...
Submitted by: "Michael Bushkov" <bushman__at__rsu.ru>
2006-04-30 21:25:00 +00:00
marcus
e3a87fd595
Go with a different version of the previous patch so to preserve errno.
...
Approved by: scottl (implicit)
2006-04-30 07:08:43 +00:00
marcus
6e43077eab
Fix a file descriptor leak in cam_lookup_pass() when the ioctl to find
...
the passthru device fails.
Approved by: scottl
MFC after: 1 day
2006-04-30 07:02:40 +00:00
ume
e14f1c3b3b
- Extend the nsswitch to support Services, Protocols and Rpc
...
databases.
- Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005
2006-04-28 12:03:38 +00:00
davidxu
6a9d879cfe
s/long/int.
2006-04-27 08:25:13 +00:00
davidxu
66d0fee031
- Use same priority range returned by kernel's sched_get_priority_min()
...
and sched_get_priority_max() syscalls.
- Remove unused fields from structure pthread_attr.
2006-04-27 08:18:23 +00:00
jasone
3ddbb17f57
Change the semantics of brk_max to dynamically deal with data segment
...
bounds. [1]
Modify logic for utilizing the data segment, such that it is possible to
create huge allocations there.
Shrink the data segment when deallocating a chunk, if it is at the end of
the data segment.
Rename chunk_size to csize in huge_malloc(), in order to avoid masking a
static variable of the same name. [1]
Reported by: Paul Allen <nospam@ugcs.caltech.edu>
2006-04-27 01:03:00 +00:00
maxim
480c31c3fc
o Add IDs for Plan9, QNX4.X, Mac OS-X, Linux exteneded partitions.
...
PR: bin/96326
Submitted by: Alex Kozlov
MFC after: 2 weeks
2006-04-25 20:42:15 +00:00