Commit Graph

3477 Commits

Author SHA1 Message Date
shin
333bc752f5 Fix getaddrinfo() behaviour to be more compliant with RFC2553. Patches are
obtained from itojun.
  -don't filter address families which are not supported by system at
   FQDN resolving.
  -don't do reverse lookup

I think I checked all lib and tools which use getaddrinfo() if
this change affect them.

Obtained from: KAME project
2000-01-26 08:37:29 +00:00
peter
b7a459072e Use a more conventional copyright message. 2000-01-26 07:17:00 +00:00
rwatson
d4cf10527e Minor fixes to library interface to improve POSIX.1e compliance. This
adds _np to a couple of function prototypes that provided more broad/useful
interfaces than POSIX.1e interfaces included.

Also, move from using a heuristic to identify POSIX.1e-semantic ACLs to
using different ACL types for non-POSIX.1e ACLs.  This should clean up the
existing fuzzy logic that determined when acl_sort() should be applied
before kernel submission.
2000-01-26 04:19:38 +00:00
shin
7c069c8355 several tcp apps IPv6 update
-inetd
 -rshd
 -rlogind
 -telnetd
 -rsh
 -rlogin

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
sheldonh
02c2ad9db1 Improve the explanation on the (in)security of mktemp(3). 2000-01-25 13:58:46 +00:00
guido
8d6778257c We _do_ support MS_ASYNC
Reviewed by:	Matthew Dillon <dillon@apollo.backplane.com>
2000-01-24 18:35:16 +00:00
alfred
a415cd3e9e Clarify that we don't offer hard realtime.
Split timeval options into 3 paragraphs, it's easier on my eyes.
2000-01-24 02:13:21 +00:00
jasone
424ca306ab Fix millisecond to nanosecond conversion.
PR:		misc/16245
2000-01-22 09:15:15 +00:00
mjacob
f267404f6f Specify the system directory for which we put in our include path
as a separate line so we can override it on the command line if
we need to.
2000-01-21 20:11:40 +00:00
bde
4209b12aa6 Oops, The dependency of libcrypt on libmd went away before it was "fixed"
here.

Reported by:	peter
2000-01-21 02:00:53 +00:00
jasone
210e36a480 Remove unnecessary alternate entry points for *setjmp(). Make the main
entry point the standard name when not compiling libc_r (for example,
longjmp is the main entry point instead of __longjmp).

Suggested by:	bde
2000-01-20 21:58:27 +00:00
jasone
56be3f97af Minor *jmp() cleanups. 2000-01-20 21:53:59 +00:00
jasone
0b8fe2c262 Add sem_*() functions. Named semaphores and process-shared semaphores
are not supported by this implementation, and the error return values
from sem_init(), sem_open(), sem_close(), and sem_unlink() reflect this.

Approved by:	jkh
2000-01-20 07:54:49 +00:00
jasone
e10b8b321f Do signal deferral for pthread_kill() as it was done in the old days.
Submitted by:	deischen
2000-01-20 04:46:52 +00:00
jasone
75bdfdb09e Move ENTRY and ALTENTRY definitions to asm.h where they belong.
Unbreak profiling.  Again.

Submitted by:	bde
2000-01-20 03:15:01 +00:00
sheldonh
e2a3f1e09e Although it should be obvious that the 3-digit numeric values of the
characters shown are octal, state this explicitly for the easily
misled.
2000-01-19 16:21:05 +00:00
sheldonh
fc9f6552b9 Make the quotes in the #include line visible. 2000-01-19 13:27:03 +00:00
ru
cd83094d21 Do not set the default terminal type to "su", leave it empty.
PR:		bin/5084
Reviewed by:	asmodai, davidn, sef
2000-01-19 10:54:44 +00:00
jasone
5a8d67e5b2 Implement continuations to correctly handle [sig|_]longjmp() inside of a
signal handler.  Explicitly check for jumps to anywhere other than the
current stack, since such jumps are undefined according to POSIX.

While we're at it, convert thread cancellation to use continuations, since
it's cleaner than the original cancellation code.

Avoid delivering a signal to a thread twice.  This was a pre-existing bug,
but was likely unexposed until these other changes were made.

Defer signals generated by pthread_kill() so that they can be delivered on
the appropriate stack.  deischen claims that this is unnecessary, which is
likely true, but without this change, pthread_kill() can cause undefined
priority queue states and/or PANICs in [sig|_]longjmp(), so I'm leaving
this in for now.  To compile this code out and exercise the bug, define
the _NO_UNDISPATCH cpp macro.  Defining _PTHREADS_INVARIANTS as well will
cause earlier crashes.

PR:			kern/14685
Collaboration with:	deischen
2000-01-19 07:04:50 +00:00
jasone
eaa6ee2770 Make minor entry point changes to support libc_r. 2000-01-19 07:01:40 +00:00
rwatson
44a14eb969 Fix bde'isms in acl/extattr syscall interface, renaming syscalls to
prettier (?) names, adding some const's around here, et al.

This is commit 4 out of 3, updating the userland library to reflect kernel
interface changes.

Reviewed by:	bde
2000-01-19 06:13:59 +00:00
wpaul
4f731962c3 Close PR#16028. Make the sanity check saner. The condition that we
check for on the server may arise legitimately on the client. The
correct way to check for a zero record length is to check for it
without the LAST_FRAG marker in it, since it's legal to send a LAST_FRAG
marker with 0 bytes of data.

PR:		misc/16028
2000-01-19 06:12:32 +00:00
chris
a34d850762 Document KERN_QUANTUM under CTL_KERN
PR:		15637
Submitted by:	jhs
2000-01-19 05:32:27 +00:00
chris
b120339dc5 Document isnanf() for checking if a float is NaN (``Not-a-Number'') and
create a link from isnanf.3 to isinf.3.

PR:		13878
2000-01-19 04:58:39 +00:00
markm
f02dba74dc This man page is not needed; it just gets jumped on later when libcrypt
is installed.
Submitted by:	bde
2000-01-18 18:25:45 +00:00
markm
1952bf99b7 A bunch of factual corrections. 2000-01-18 18:23:28 +00:00
sheldonh
b1a9742fc1 Add HISTORY.
Submitted by:	obrien
2000-01-18 12:50:13 +00:00
deischen
5df4f76b7e Properly initialize the last active time of the initial thread. This fixes
the case that a CPU hungry main thread is prevented from being preempted
due to a negative calculation of its time slice.

Reported by:	Alexander Litvin <archer@lucky.net>
2000-01-18 11:35:25 +00:00
obrien
ed0ee3eb4f trailing white space removal. 2000-01-18 07:43:12 +00:00
obrien
e7010e3eff Add two new functions cd9660_readfile() & cd9660_readdir(), which
cd9660_read() now uses to read CDROMs.  With these changes FreeBSD/Alpha
can now boot from a bootable CDROM.

Submitted by:	dfr
2000-01-18 07:37:10 +00:00
bde
e6201f751b Fixed missing backslash in previous commit. Adding setresuid.2 has taken
4 commits and 2 world breakages so far.
2000-01-18 05:38:05 +00:00
sheldonh
38b5d605b4 Fix line too long style bug in the previous commit (which, by the
way, unbroke world).
2000-01-18 05:15:26 +00:00
ache
088c17d775 add setresuid.2 2000-01-18 04:37:21 +00:00
chris
ab529a8df1 Repair internal consistency: Change "login_cap_t * lc" to a more correct
(and consistent) "login_cap_t *lc".
2000-01-18 03:02:29 +00:00
billf
58f500d0c9 Add the "use -lutil" line to all functions that require it so people like
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with
silly linking errors.

Reviewed by:	chris
2000-01-18 01:27:47 +00:00
rwatson
cac2ae6c5a acl_delete_default_file() changed to acl_delete_def_file() 2000-01-17 17:48:22 +00:00
sheldonh
1a5228f541 Add manual pages for the newly added setres[ug]id system calls. 2000-01-17 15:01:42 +00:00
jdp
66ac298998 Fix error message that was too hastily cut&pasted from libradius.
Submitted by:	Alexey Zelkin <phantom@cris.net>
2000-01-17 04:26:09 +00:00
bde
545dd4af58 Fixed bitrot in library build order. libmd was not built before
libcrypt and libutil was not built before libpam.

The order here is currently unimportant, but ../Makefile should
descend here to build everything (which currently doesn't work
right) or at least to get the order using `make -V SUBDIR'.
2000-01-17 01:32:39 +00:00
kris
7e42c660d6 We no longer care about the VAX and Tahoe compilers :-) 2000-01-17 01:28:00 +00:00
mjacob
7ed95d1999 get pd_type from inquiry data itself 2000-01-16 20:15:43 +00:00
bde
d784d7febe Fixed stray backslash in previous commit.
Fixed bitrot in comments about library dependencies.  The list has been
maintained better in ../Makefile.inc1, except it has been uninverted
there so it is hard to use manually.
2000-01-16 04:43:11 +00:00
rwatson
db96e16636 Oops, didn't commit the Makefile for libposix1e--this should fix build
problems.

Reviewed by:	eivind
2000-01-15 23:33:49 +00:00
rwatson
9fc6c17414 Enable the building of libposix1e
Reviewed by:	eivind
2000-01-15 19:47:01 +00:00
rwatson
758c91f628 libposix1e provides userland library calls for the POSIX.1e security
interface.  This commit introduces the library, as well as a modest
subset of the ACL calls, with some modifications to support multiple
ACL semantics.

Reviewed by:	eivind
2000-01-15 19:44:27 +00:00
shin
38c1f10e83 Support v6 login. 2000-01-15 03:26:54 +00:00
bde
908e27521d Fixed corrupted tabs in previous commit. 2000-01-14 15:47:00 +00:00
rgrimes
7e1486bf06 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
shin
2efdfce495 libc rcmd update for IPv6.
A new function bindresvport2(), AF independent version of bindresvport()
is also added.

Reviewed by: sumikawa
Obtained from: KAME project
2000-01-13 15:09:48 +00:00
asmodai
5982897710 Correct placement of $FreeBSD$ CVS identifier. 2000-01-13 14:27:44 +00:00