Commit Graph

5065 Commits

Author SHA1 Message Date
ambrisko
8420930ca2 Add support to easily build FreeBSD unpacked in a chroot of another
FreeBSD machine.  To do this add the man 1 uname changes to __xuname.c
so we can override the settings it reports.  Add OSVERSION override
to getosreldate.  Finally which Makefile.inc1 to use uname -m instead
of  sysctl -n hw.machine_arch to get the arch. type.

With these change you can put a complete FreeBSD OS image into a
chroot set:
	UNAME_s=FreeBSD
	UNAME_r=4.7-RELEASE
	UNAME_v="FreeBSD $UNAME_r #1: Fri Jul 22 20:32:52 PDT 2005 fake@fake:/usr/obj/usr/src/sys/FAKE"
	UNAME_m=i386
	UNAME_p=i386
	OSVERSION=470000
on an amd64 or i386 and it just work including building ports and using
pkg_add -r etc.  The caveat for this example is that these patches
have to be applied to FreeBSD 4.7 and the uname(1) changes need to
be merged.  This also addresses issue with libtool.

This is usefull for when a build machine has been trashed for an
old release and we want to do a build on a new machine that FreeBSD
4.7 won't run on ...
2005-12-02 00:50:30 +00:00
imp
acbc914cf5 Tweak markup for POSIX standards. Minor wordsmithing.
Submitted by: ru@
2005-12-01 18:17:50 +00:00
imp
2fb46d5815 Document O_NOCTTY and O_SYNC. O_NOCTTY is a nop on freebsd, while on
other systems it prevents a tty from becoming a controlling tty on the
open.  O_SYNC is the POSIX name for O_FSYNC.

The Markup Police may need to tweak my references to standards.
2005-12-01 17:54:33 +00:00
jhb
e5008afa83 Add MLINK for execvP(3).
PR:		docs/89783
Submitted by:	Andreas Kohn andreas at syndrom23 dot de
MFC after:	3 days
2005-12-01 15:56:05 +00:00
davidxu
fe2f3459f3 Update conformance and history sections. 2005-11-30 04:15:44 +00:00
davidxu
155492a9a6 Symlink mq_send to mq_timedsend.
Symlink mq_receive to mq_timedreceive.
2005-11-30 04:14:53 +00:00
davidxu
da7f338534 Add manuals for POSIX message queue. 2005-11-30 04:12:37 +00:00
davidxu
b89632601d Implement following POSIX message queue interfaces:
mq_close, mq_getattr, mq_receive, mq_send.
2005-11-26 13:01:17 +00:00
ru
d9eedd9185 Make SYNOPSIS compile.
Attn peter@: this manpage wasn't synced with your code changes.
2005-11-24 07:48:19 +00:00
ru
a615d0b31e Fix prototypes.
Attn davidxu@: most likely, the description should also be tweaked
after your undocumented changes that changed these prototypes.
2005-11-24 07:33:35 +00:00
ru
bf558bda27 Fix prototypes. 2005-11-24 07:12:01 +00:00
ru
e82db33c27 Keep up with const poisoning in uuid.h,v 1.3. 2005-11-24 07:04:20 +00:00
ru
07d744857c Fix prototype. 2005-11-24 06:56:21 +00:00
ru
11d4f09966 Fix prototype. 2005-11-23 20:34:37 +00:00
ru
642fd4337d Fix prototype. 2005-11-23 20:26:58 +00:00
ru
869e65f881 Fix prototypes. 2005-11-23 16:44:23 +00:00
ru
5e1264a066 There's no longer^Wyet <sys/capability.h>. 2005-11-23 16:24:39 +00:00
ru
f0442273f1 Fix inet6_opt_get_val() prototype. 2005-11-23 16:07:54 +00:00
ru
07eeed1e1c Make SYNOPSIS compile. 2005-11-23 15:55:38 +00:00
ru
906caa442c Make SYNOPSIS compile after imp@'s changes. 2005-11-23 15:44:42 +00:00
ru
baae9ec455 Make SYNOPSIS compile. 2005-11-23 15:41:36 +00:00
ru
11e07dda30 Add missing includes. 2005-11-23 10:49:07 +00:00
simon
ac5e3a71fd Do not explicitly state how many bytes an argument list can be in the
description of E2BIG, since it's now larger on some platforms.

MFC after:	3 days
2005-11-19 11:30:55 +00:00
andre
e76b2aa5e3 Document CLOCK_UPTIME which returns the current uptime in SI seconds.
At the moment it is just an alias for CLOCK_MONOTONIC which reports
the same number.

Sponsored by:	TCP/IP Optimization Fundraise 2005
2005-11-18 17:13:22 +00:00
ru
0a30497782 Fix up markup. 2005-11-18 11:54:14 +00:00
ru
271d9041b2 Fix up markup etc. in recently born manpage. 2005-11-18 11:53:23 +00:00
ru
928d297eeb -mdoc sweep. 2005-11-17 13:00:00 +00:00
ume
92c433a722 The KAME's getipnodebyaddr() code honor the MULTI_PTRS_ARE_ALIASES
define also, but res_config.h was not included into libc/net/name6.c.
So getipnodebyaddr() ignored the multiple PTRs.

PR:		kern/88241
Submitted by:	Dan Lukes <dan__at__obluda.cz>
MFC after:	3 days
2005-11-15 03:40:15 +00:00
deischen
7e11077be2 Fix a stub function so that is has the correct number of
arguments.  While I'm here, correct a couple of [tab] alignments.

Submitted by:	bland
2005-11-12 16:00:29 +00:00
davidxu
9b80130dab add continued status. 2005-11-12 01:37:03 +00:00
davidxu
a63a9632fb Insert missing copyright headers. 2005-11-12 01:19:05 +00:00
davidxu
f829046274 Only signo should be marked with .Fa. 2005-11-11 14:52:06 +00:00
delphij
f7bdaa902f Fix plural. 2005-11-11 08:00:44 +00:00
davidxu
349748c4de Fix plural. 2005-11-11 07:50:51 +00:00
davidxu
5682702f74 Fix copy-paste issue. 2005-11-11 07:50:09 +00:00
davidxu
c96b2417aa Add POSIX timer manuals. 2005-11-11 07:48:38 +00:00
davidxu
1ec898f53b Add descriptions about signal queue. 2005-11-11 05:40:39 +00:00
davidxu
e470cdb287 Er, highlight function wait(). 2005-11-11 05:38:40 +00:00
davidxu
eb109d2033 Add notes about queued SIGCHLD. 2005-11-11 05:30:48 +00:00
davidxu
e64485ffe5 Add manuals for sigqueue, sigtimedwait, sigwaitinfo. 2005-11-11 03:13:25 +00:00
jkoshy
5f40723405 Document the fact that sendfile(2) can EOPNOTSUPP if the underlying
filesystem for the file being transferred doesn't support UIO_NOCOPY.

Reported by:	Niki Denev <nike_d@cytexbg.com>
2005-10-31 04:08:28 +00:00
jkoshy
8ec6c5c60f Sort error list. 2005-10-31 04:00:20 +00:00
stefanf
ca175bacb2 Make __sem_timedwait() consistent with the sem_timedwait() prototype. 2005-10-18 17:24:03 +00:00
cognet
8d7cf84363 Fix a long line in copyright notice.
Pointed out by:	Gavin Atkinson gavin.atkinson ury york ac uk
2005-10-03 14:43:27 +00:00
cognet
c1683d9248 Add an asm version of strlen() for arm (how useful). 2005-10-03 14:21:49 +00:00
ache
470e1e4236 Just by allocating size*2 bytes we can't be sure that new size will be enough,
so change two
	if (size not enough) {
		reallocf(size*2);
	}
into
	while (size not enough) {
		reallocf(size*2);
	}
2005-09-18 17:50:58 +00:00
brueffer
b3810218d9 Use the correct function name as .Nm argument.
PR:		86169
Submitted by:	Toby Peterson <toby@apple.com>
MFC after:	3 days
2005-09-18 15:40:03 +00:00
ache
64235b259f Cosmetic fixes to prev. commit.
Change first MAXPATHLEN to more standard PATH_MAX
Change second MAXPATHLEN to 1024 (it is temp buffer not related)
Change comment to reflect that.

Suggested by:   bde
2005-09-15 17:25:52 +00:00
ache
662afafc67 Remove any hardcoded assumptions about malloc's way of allocating,
just use MAXPATHLEN. It prevents potential buffer overflow with other
malloc implementations.
(this change based on submitted patch)

PR:             86135
Submitted by:   Trevor Blackwell <tlb@tlb.org>
2005-09-14 20:35:46 +00:00
ache
973ad4fc35 Don't reuse *pl to skip [], it is already used for {} parts in the loop above
(submitted patch slightly modified)

PR:             86038
Submitted by:   Gerd Rausch <gerd@juniper.net>
2005-09-14 19:14:32 +00:00