Date: Mon, 30 Dec 2002 14:17:11 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 22951 for review Message-ID: <200212302217.gBUMHBqD082399@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=22951 Change 22951 by rwatson@rwatson_paprika on 2002/12/30 14:17:10 Integ TrustedBSD ACL from TrustedBSD base: loop back symbolic link system calls, library updates, and getfacl/setfacl changes to take into account symbolic links. Also pick up m_tag changes. Affected files ... .. //depot/projects/trustedbsd/acl/lib/libc/compat-43/creat.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/compat-43/gethostid.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/compat-43/killpg.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/compat-43/sigpause.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/compat-43/sigsetmask.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/compat-43/sigvec.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/db/man/btree.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/db/man/dbm.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/db/man/dbopen.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/db/man/hash.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/db/man/mpool.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/Makefile.inc#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/alarm.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/basename.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/basename.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/ctermid.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/devname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/directory.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/dirname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/dirname.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/dladdr.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/dllockinit.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/dlopen.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/exec.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/fmtcheck.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/fnmatch.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/frexp.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/fts.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getbootfile.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getbsize.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getbsize.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getcap.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getcap.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getdomainname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getgrent.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/gethostname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getmntinfo.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getnetgrent.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getobjformat.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getpagesize.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getpeereid.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getpwent.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getttyent.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getvfsbyname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/getvfsent.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/glob.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/lockf.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/makecontext.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/modf.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/msgctl.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/msgget.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/msgrcv.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/msgsnd.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/pselect.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/rand48.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/readpassphrase.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/rfork_thread.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/scandir.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/setjmp.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/setproctitle.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/setproctitle.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/siginterrupt.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/signal.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/sigsetops.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/stringlist.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/sysctl.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/syslog.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/tcsendbreak.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/tcsetattr.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/timezone.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/ttyname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/ualarm.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/ualarm.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/ulimit.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/unvis.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/usleep.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/usleep.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/valloc.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/vis.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/gen/wordexp.3#1 branch .. //depot/projects/trustedbsd/acl/lib/libc/gen/wordexp.c#1 branch .. //depot/projects/trustedbsd/acl/lib/libc/gmon/moncontrol.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/i386/stdlib/div.S#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/i386/stdlib/ldiv.S#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/i386/sys/i386_get_ioperm.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/i386/sys/i386_get_ldt.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/i386/sys/i386_set_watch.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/i386/sys/i386_vm86.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/locale/ctype.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/locale/isblank.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/locale/mbrune.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/locale/rune.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/addr2ascii.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/ethers.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/getaddrinfo.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/gethostbyname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/getipnodebyname.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/getnameinfo.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/getnetent.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/hesiod.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/inet6_option_space.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/inet6_rthdr_space.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/inet_net.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/iso_addr.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/linkaddr.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/nsdispatch.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/rcmd.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/rcmdsh.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/resolver.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/net/sockatmark.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl.3#4 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete.3#5 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_delete.c#3 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_dup.3#3 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_free.3#3 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_from_text.3#4 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get.3#5 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_get.c#3 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_init.3#3 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set.3#4 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_set.c#3 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_to_text.3#4 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_valid.3#4 integrate .. //depot/projects/trustedbsd/acl/lib/libc/posix1e/acl_valid.c#3 integrate .. //depot/projects/trustedbsd/acl/lib/libc/regex/regex.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/bindresvport.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/des_crypt.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/getnetconfig.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/getnetpath.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/getrpcent.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/getrpcport.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/publickey.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_clnt_auth.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_clnt_calls.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_clnt_create.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_secure.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_soc.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_svc_calls.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_svc_create.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_svc_err.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpc_svc_reg.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rpcbind.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/rpc/rtime.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/fclose.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/fflush.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/fopen.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/fputs.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/fseek.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/fwide.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/mktemp.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/perror.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/printf.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/putc.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/scanf.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/setbuf.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdio/tmpnam.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/abs.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/atexit.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/atof.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/atoi.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/div.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/getenv.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/getopt_long.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/labs.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/ldiv.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/lsearch.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/malloc.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/qsort.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/rand.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/realpath.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/strtod.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdlib/tsearch.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdtime/ctime.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/stdtime/strptime.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/index.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/rindex.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/strchr.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/strcpy.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/strerror.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/strerror.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/strlcpy.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/string/strtok.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/_exit.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/accept.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/access.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/acct.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/adjtime.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/aio_cancel.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/aio_error.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/aio_read.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/aio_return.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/aio_suspend.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/aio_waitcomplete.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/aio_write.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/bind.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/brk.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/chdir.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/chflags.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/chmod.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/chown.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/chroot.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/clock_gettime.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/close.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/connect.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/dup.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/execve.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/extattr_get_file.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/fcntl.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/fhopen.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/flock.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/fork.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/fsync.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getdirentries.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getdtablesize.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getfh.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getfsstat.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getgid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getgroups.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getitimer.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getlogin.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getpeername.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getpgrp.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getpid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getpriority.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getrlimit.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getrusage.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getsid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getsockname.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getsockopt.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/gettimeofday.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/getuid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/intro.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/ioctl.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/issetugid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/jail.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kenv.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kill.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kldfind.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kldfirstmod.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kldload.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kldnext.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kldstat.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kldsym.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kldunload.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kqueue.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/kse.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/ktrace.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/link.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/listen.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/lseek.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/madvise.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mincore.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/minherit.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mkdir.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mkfifo.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mknod.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mlock.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mmap.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mmap.c#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/modfind.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/modnext.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/modstat.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mount.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/mprotect.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/msync.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/munmap.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/nanosleep.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/nfssvc.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/open.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/pathconf.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/pipe.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/poll.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/profil.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/ptrace.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/quotactl.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/read.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/readlink.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/reboot.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/recv.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/rename.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/revoke.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/rfork.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/rmdir.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/rtprio.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sched_get_priority_max.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sched_setparam.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sched_setscheduler.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sched_yield.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/select.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/semctl.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/semget.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/semop.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/send.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sendfile.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/setgroups.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/setpgid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/setregid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/setresuid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/setreuid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/setsid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/setuid.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/shmat.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/shmctl.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/shmget.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/shutdown.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sigaction.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sigaltstack.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sigpending.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sigprocmask.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sigreturn.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sigstack.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sigsuspend.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/socket.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/socketpair.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/stat.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/statfs.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/swapon.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/symlink.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sync.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/sysarch.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/syscall.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/truncate.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/umask.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/undelete.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/unlink.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/utimes.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/uuidgen.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/vfork.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/wait.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/sys/write.2#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/uuid/uuid.3#2 integrate .. //depot/projects/trustedbsd/acl/lib/libc/xdr/xdr.3#2 integrate .. //depot/projects/trustedbsd/acl/sys/boot/ficl/words.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/cam/cam_queue.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/amr/amr.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/an/if_aironet_ieee.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/an/if_an.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/dev/an/if_an_pccard.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/an/if_an_pci.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/an/if_anreg.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/awi/awi.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/awi/awi_wep.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/ccd/ccd.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/cm/smc90cx6.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/en/midway.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/firewire/iec13213.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/hifn/hifn7751.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/isp/isp.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/isp/isp_target.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/isp/isp_tpublic.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/nge/if_nge.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/ppbus/if_plip.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/ppbus/ppi.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/puc/puc.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/puc/pucdata.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/dev/sab/sab.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/sym/sym_fw1.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/sym/sym_fw2.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/sym/sym_hipd.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/ubsec/ubsec.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/dev/wl/if_wl.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/fs/fifofs/fifo_vnops.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/fs/hpfs/hpfs_vnops.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/fs/nullfs/null_vnops.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/fs/smbfs/smbfs_smb.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/geom/geom_mbr.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/gnu/ext2fs/ext2_linux_balloc.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/i386/conf/OLDCARD#2 integrate .. //depot/projects/trustedbsd/acl/sys/i386/conf/SMP#1 branch .. //depot/projects/trustedbsd/acl/sys/i386/isa/istallion.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/ia64/ia32/syscalls.master#2 integrate .. //depot/projects/trustedbsd/acl/sys/kern/init_sysent.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/kern/kern_acl.c#4 integrate .. //depot/projects/trustedbsd/acl/sys/kern/kern_proc.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/kern/kern_subr.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/kern/syscalls.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/kern/syscalls.master#3 integrate .. //depot/projects/trustedbsd/acl/sys/kern/uipc_mbuf.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/kern/uipc_mbuf2.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/kern/vfs_subr.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/net/if_loop.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/net/if_var.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/netatm/port.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/netatm/spans/spans_msg.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netatm/spans/spans_util.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netatm/uni/sscop_lower.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netinet/ip_icmp.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/netinet/ip_input.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netinet/tcp_input.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/netinet6/esp_input.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netinet6/icmp6.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/netinet6/ip6_input.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/netinet6/ip6_output.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netinet6/ip6_var.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/netinet6/ipsec.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netinet6/nd6_nbr.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netipsec/ipsec_mbuf.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netipsec/ipsec_output.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/netsmb/smb.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/nfsclient/bootp_subr.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/pc98/pc98/olpt.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/pci/if_xl.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/pci/ncr.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/sparc64/include/tte.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/sparc64/pci/psycho.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/sparc64/sparc64/cache.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/sparc64/sparc64/exception.S#3 integrate .. //depot/projects/trustedbsd/acl/sys/sparc64/sparc64/genassym.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/sparc64/sparc64/interrupt.S#2 integrate .. //depot/projects/trustedbsd/acl/sys/sparc64/sparc64/mp_exception.S#2 integrate .. //depot/projects/trustedbsd/acl/sys/sys/_mutex.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/sys/acl.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/sys/diskmbr.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/sys/mbuf.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/sys/msg.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/sys/namei.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/sys/signal.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/sys/syscall.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/sys/syscall.mk#3 integrate .. //depot/projects/trustedbsd/acl/sys/sys/sysproto.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/sys/unpcb.h#2 integrate .. //depot/projects/trustedbsd/acl/sys/sys/vnode.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/vm/vm_fault.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/vm/vm_kern.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/vm/vm_map.c#2 integrate .. //depot/projects/trustedbsd/acl/sys/vm/vm_object.c#3 integrate .. //depot/projects/trustedbsd/acl/sys/vm/vm_object.h#3 integrate .. //depot/projects/trustedbsd/acl/sys/vm/vm_page.c#3 integrate Differences ... ==== //depot/projects/trustedbsd/acl/lib/libc/compat-43/creat.2#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)creat.2 8.1 (Berkeley) 6/2/93 -.\" $FreeBSD: src/lib/libc/compat-43/creat.2,v 1.9 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/compat-43/creat.2,v 1.10 2002/12/18 12:45:08 ru Exp $ .\" .Dd June 2, 1993 .Dt CREAT 2 @@ -50,7 +50,9 @@ .Ef .Xr open 2 . .Pp -.Fn Creat +The +.Fn creat +function is the same as: .Bd -literal -offset indent open(path, O_CREAT | O_TRUNC | O_WRONLY, mode); @@ -60,5 +62,5 @@ .Sh HISTORY The .Fn creat -function call appeared in +function appeared in .At v6 . ==== //depot/projects/trustedbsd/acl/lib/libc/compat-43/gethostid.3#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)gethostid.3 8.1 (Berkeley) 6/2/93 -.\" $FreeBSD: src/lib/libc/compat-43/gethostid.3,v 1.10 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/compat-43/gethostid.3,v 1.11 2002/12/18 12:45:08 ru Exp $ .\" .Dd June 2, 1993 .Dt GETHOSTID 3 @@ -48,14 +48,18 @@ .Ft void .Fn sethostid "long hostid" .Sh DESCRIPTION -.Fn Sethostid +The +.Fn sethostid +function establishes a 32-bit identifier for the current processor that is intended to be unique among all UNIX systems in existence. This is normally a DARPA Internet address for the local machine. This call is allowed only to the super-user and is normally performed at boot time. .Pp -.Fn Gethostid +The +.Fn gethostid +function returns the 32-bit identifier for the current processor. .Pp This function has been deprecated. ==== //depot/projects/trustedbsd/acl/lib/libc/compat-43/killpg.2#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)killpg.2 8.1 (Berkeley) 6/2/93 -.\" $FreeBSD: src/lib/libc/compat-43/killpg.2,v 1.10 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/compat-43/killpg.2,v 1.12 2002/12/19 09:40:21 ru Exp $ .\" .Dd June 2, 1993 .Dt KILLPG 2 @@ -46,7 +46,9 @@ .Ft int .Fn killpg "pid_t pgrp" "int sig" .Sh DESCRIPTION -.Fn Killpg +The +.Fn killpg +function sends the signal .Fa sig to the process group @@ -68,11 +70,15 @@ .Sh RETURN VALUES .Rv -std killpg .Sh ERRORS -.Fn Killpg +The +.Fn killpg +function will fail and no signal will be sent if: .Bl -tag -width Er .It Bq Er EINVAL -.Fa Sig +The +.Fa sig +argument is not a valid signal number. .It Bq Er ESRCH No process can be found in the process group specified by @@ -92,5 +98,5 @@ .Sh HISTORY The .Fn killpg -function call appeared in +function appeared in .Bx 4.0 . ==== //depot/projects/trustedbsd/acl/lib/libc/compat-43/sigpause.2#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)sigpause.2 8.1 (Berkeley) 6/2/93 -.\" $FreeBSD: src/lib/libc/compat-43/sigpause.2,v 1.10 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/compat-43/sigpause.2,v 1.12 2002/12/19 09:40:21 ru Exp $ .\" .Dd June 2, 1993 .Dt SIGPAUSE 2 @@ -48,16 +48,22 @@ .Sy This interface is made obsolete by .Xr sigsuspend 2 . .Pp -.Fn Sigpause +The +.Fn sigpause +function assigns .Fa sigmask to the set of masked signals and then waits for a signal to arrive; on return the set of masked signals is restored. -.Fa Sigmask +The +.Fa sigmask +argument is usually 0 to indicate that no signals are to be blocked. -.Fn Sigpause +The +.Fn sigpause +function always terminates by being interrupted, returning -1 with .Va errno set to @@ -72,6 +78,6 @@ .Sh HISTORY The .Fn sigpause -function call appeared in +function appeared in .Bx 4.2 and has been deprecated. ==== //depot/projects/trustedbsd/acl/lib/libc/compat-43/sigsetmask.2#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)sigsetmask.2 8.1 (Berkeley) 6/2/93 -.\" $FreeBSD: src/lib/libc/compat-43/sigsetmask.2,v 1.12 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/compat-43/sigsetmask.2,v 1.13 2002/12/18 12:45:08 ru Exp $ .\" .Dd June 2, 1993 .Dt SIGSETMASK 2 @@ -55,13 +55,17 @@ .Ef .Xr sigprocmask 2 . .Pp -.Fn Sigsetmask +The +.Fn sigsetmask +function sets the current signal mask to the specified .Fa mask . Signals are blocked from delivery if the corresponding bit in .Fa mask is a 1. -.Fn Sigblock +The +.Fn sigblock +function adds the signals in the specified .Fa mask to the current signal mask, @@ -80,9 +84,11 @@ .Dv SIGSTOP to be blocked. .Sh RETURN VALUES -.Fn Sigblock +The +.Fn sigblock and .Fn sigsetmask +functions return the previous set of masked signals. .Sh SEE ALSO .Xr kill 2 , @@ -96,6 +102,6 @@ .Fn sigsetmask and .Fn sigblock -function calls first appeared in +functions first appeared in .Bx 4.2 and have been deprecated. ==== //depot/projects/trustedbsd/acl/lib/libc/compat-43/sigvec.2#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)sigvec.2 8.2 (Berkeley) 4/19/94 -.\" $FreeBSD: src/lib/libc/compat-43/sigvec.2,v 1.19 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/compat-43/sigvec.2,v 1.21 2002/12/19 09:40:21 ru Exp $ .\" .Dd April 19, 1994 .Dt SIGVEC 2 @@ -116,7 +116,9 @@ .Em or Ns 'ing in the signal mask associated with the handler to be invoked. .Pp -.Fn Sigvec +The +.Fn sigvec +function assigns a handler for a specific signal. If .Fa vec is non-zero, it @@ -258,7 +260,9 @@ .Sh RETURN VALUES .Rv -std sigvec .Sh ERRORS -.Fn Sigvec +The +.Fn sigvec +function will fail and no new signal handler will be installed if one of the following occurs: .Bl -tag -width Er @@ -270,7 +274,9 @@ points to memory that is not a valid part of the process address space. .It Bq Er EINVAL -.Fa Sig +The +.Fa sig +argument is not a valid signal number. .It Bq Er EINVAL An attempt is made to ignore or supply a handler for @@ -308,8 +314,10 @@ .Fa sig is the signal number, into which the hardware faults and traps are mapped as defined below. -.Fa Code -is a parameter that is either a constant +The +.Fa code +argument +is either a constant as given below or, for compatibility mode faults, the code provided by the hardware (Compatibility mode faults are distinguished from the other @@ -317,7 +325,9 @@ traps by having .Dv PSL_CM set in the psl). -.Fa Scp +The +.Fa scp +argument is a pointer to the .Fa sigcontext structure (defined in ==== //depot/projects/trustedbsd/acl/lib/libc/db/man/btree.3#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)btree.3 8.4 (Berkeley) 8/18/94 -.\" $FreeBSD: src/lib/libc/db/man/btree.3,v 1.5 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/db/man/btree.3,v 1.6 2002/12/19 09:40:21 ru Exp $ .\" .Dd August 18, 1994 .Dt BTREE 3 @@ -172,7 +172,9 @@ (no comparison function is specified), the keys are compared lexically, with shorter keys considered less than longer keys. .It Va prefix -.Va Prefix +The +.Va prefix +element is the prefix comparison function. If specified, this routine must return the number of bytes of the second key argument which are necessary to determine that it is greater than the first @@ -206,10 +208,11 @@ If the file already exists (and the .Dv O_TRUNC flag is not specified), the -values specified for the parameters +values specified for the .Va flags , lorder and .Va psize +arguments are ignored in favor of the values used when the tree was created. .Pp ==== //depot/projects/trustedbsd/acl/lib/libc/db/man/dbm.3#2 (text+ko) ==== @@ -13,7 +13,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $FreeBSD: src/lib/libc/db/man/dbm.3,v 1.5 2001/10/01 16:08:50 ru Exp $ +.\" $FreeBSD: src/lib/libc/db/man/dbm.3,v 1.7 2002/12/19 09:40:21 ru Exp $ .\" .\" Note: The date here should be updated whenever a non-trivial .\" change is made to the manual page. @@ -73,9 +73,13 @@ } datum; .Ed .Pp +The .Fn dbm_open base flags mode +function opens or creates a database. +The .Fa base +argument is the basename of the file containing the database; the actual database has a .Pa .db @@ -86,9 +90,11 @@ .Qq Li /home/me/mystuff then the actual database is in the file .Pa /home/me/mystuff.db . +The .Fa flags and .Fa mode +arguments are passed to .Xr open 2 . .Pq Dv O_RDWR | O_CREAT @@ -105,21 +111,31 @@ identifies the database and is the .Fa db argument to the other functions. +The .Fn dbm_open +function returns .Dv NULL and sets .Va errno if there were any errors. .Pp +The .Fn dbm_close db +function closes the database. +The .Fn dbm_close +function normally returns zero. .Pp +The .Fn dbm_store db key data flags +function inserts or replaces an entry in the database. +The .Fa flags +argument is either .Dv DBM_INSERT or @@ -132,7 +148,9 @@ .Fa key , that entry is not replaced. Otherwise the entry is replaced or inserted. +The .Fn dbm_store +function normally returns zero but returns 1 if the entry could not be inserted (because .Fa flags @@ -144,7 +162,9 @@ .Va errno if there were any errors. .Pp +The .Fn dbm_fetch db key +function returns .Dv NULL or the @@ -152,38 +172,56 @@ corresponding to .Fa key . .Pp +The .Fn dbm_delete db key +function deletes the entry for .Fa key . +The .Fn dbm_delete +function normally returns zero but returns 1 if there was no entry with .Fa key in the database or returns -1 and sets .Va errno if there were any errors. .Pp +The .Fn dbm_firstkey db +function returns the first key in the database. +The .Fn dbm_nextkey db +function returns subsequent keys. +The .Fn db_firstkey +function must be called before .Fn dbm_nextkey . The order in which keys are returned is unspecified and may appear random. +The .Fn dbm_nextkey +function returns .Dv NULL after all keys have been returned. .Pp +The .Fn dbm_error db +function returns the .Va errno value of the most recent error. +The .Fn dbm_clearerr db +function resets this value to 0 and returns 0. .Pp +The .Fn dbm_dirfno db +function returns the file descriptor to the database. .Sh SEE ALSO .Xr open 2 , ==== //depot/projects/trustedbsd/acl/lib/libc/db/man/dbopen.3#2 (text+ko) ==== @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)dbopen.3 8.5 (Berkeley) 1/2/94 -.\" $FreeBSD: src/lib/libc/db/man/dbopen.3,v 1.6 2002/10/18 16:20:08 markm Exp $ +.\" $FreeBSD: src/lib/libc/db/man/dbopen.3,v 1.8 2002/12/19 09:40:21 ru Exp $ .\" .Dd January 2, 1994 .Dt DBOPEN 3 @@ -46,7 +46,9 @@ .Ft DB * .Fn dbopen "const char *file" "int flags" "int mode" "DBTYPE type" "const void *openinfo" .Sh DESCRIPTION -.Fn Dbopen +The +.Fn dbopen +function is the library interface to database files. The supported file formats are btree, hashed and UNIX file oriented. The btree format is a representation of a sorted, balanced tree structure. @@ -60,12 +62,16 @@ and .Xr recno 3 . .Pp -.Fn Dbopen +The +.Fn dbopen +function opens .Fa file for reading and/or writing. Files never intended to be preserved on disk may be created by setting -the file parameter to +the +.Fa file +argument to .Dv NULL . .Pp The @@ -131,7 +137,9 @@ each access method will use defaults appropriate for the system and the access method. .Pp -.Fn Dbopen +The +.Fn dbopen +function returns a pointer to a .Ft DB structure on success and @@ -174,15 +182,16 @@ or .Va sync function may result in inconsistent or lost information. -.Va Close +.Va close routines return -1 on error (setting .Va errno ) and 0 on success. .It Va del A pointer to a routine to remove key/data pairs from the database. .Pp -The parameter +The .Fa flags +argument may be set to the following value: .Bl -tag -width indent .It Dv R_CURSOR @@ -190,7 +199,7 @@ The cursor must have previously been initialized. .El .Pp -.Va Delete +.Va delete routines return -1 on error (setting .Va errno ) , 0 on success, and 1 if the specified @@ -224,7 +233,7 @@ .Fa key are returned in the structure referenced by .Fa data . -.Va Get +.Va get routines return -1 on error (setting .Va errno ) , 0 on success, and 1 if the @@ -233,8 +242,9 @@ .It Va put A pointer to a routine to store key/data pairs in the database. .Pp -The parameter +The .Fa flags +argument may be set to one of the following values: >>> TRUNCATED FOR MAIL (1000 lines) <<< To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212302217.gBUMHBqD082399>