Commit Graph

115220 Commits

Author SHA1 Message Date
mrg ad4196a2ab switch sparc port to xfree 4 tree. 2003-07-22 11:48:59 +00:00
mrg 11569a7f9b support XF4 on sparc. had to move parts of x{base,comp}4/mi into the
relevant ports as they do not apply to sparc (or other non-"hw/xfree86"
ports.)
2003-07-22 11:46:52 +00:00
dsl 92c7597c91 Specify username+password to ftp even when username is 'ftp'.
Only use 'ftp -a ...' when the username is ftp and the password is null.
Fixed PR install/13656
2003-07-22 11:45:16 +00:00
lukem 0b856bc2de use CPPFLAGS.filename=... to add file-specific overrides 2003-07-22 11:29:53 +00:00
itojun c8ebadb000 unifdef -U_IP_VHL 2003-07-22 11:18:24 +00:00
itojun da7d7203a8 fix comments, style 2003-07-22 11:12:15 +00:00
itojun 8f4ef7c537 clear enc/auth key before freeing 2003-07-22 11:01:09 +00:00
itojun 0d84200c22 clear scheduled key before freeing, for safety 2003-07-22 08:54:27 +00:00
itojun 18a884bc94 oops, forgot to bump version string 2003-07-22 08:46:03 +00:00
dsl bdd53bdf93 Output a messge before the 5 second delay while the network comes up.
Ask user before deleting set files (fixes PR/7190).
2003-07-22 08:30:10 +00:00
lukem 29c0479a2a Add source-file-specific variables in <bsd.lib.mk> and <bsd.prog.mk>:
COPTS.<fn>	Additional flags to the compiler when creating the C objects
		for <fn>.

CPUFLAGS.<fn>	Additional flags to the compiler/assembler for <fn>.

CPPFLAGS.<fn>	Additional flags to the C pre-processor for <fn>.


(For <fn>.[ly], "<fn>.c" must be used.)
2003-07-22 06:53:21 +00:00
briggs ed5f36a260 Deal with case where __data_store == _edata. 2003-07-22 04:57:24 +00:00
lukem e87b2970a6 improve documentation for bsd.files.mk and bsd.kernobj.mk 2003-07-22 04:23:28 +00:00
itojun c7bb6b93fd hmac-sha2 support 2003-07-22 03:42:18 +00:00
itojun aa96314290 support hmac-sha2. 2003-07-22 03:41:28 +00:00
itojun aada1051de support hmac-sha2 2003-07-22 03:38:14 +00:00
itojun 453e29a18a cleanup 2003-07-22 03:37:59 +00:00
itojun 0ee6664ebd support hmac-sha2 2003-07-22 03:33:10 +00:00
itojun 26585fc6b8 don't explicitly clear "reserved" field. instead clear "id" field. 2003-07-22 03:32:58 +00:00
itojun 24389b0290 plug memory leak 2003-07-22 03:32:17 +00:00
itojun 536967658d cosmetic 2003-07-22 03:31:44 +00:00
itojun 77283a8429 sha2 is needed for AH, not ESP 2003-07-22 03:26:16 +00:00
itojun d64e1c8d6a add hmac-sha2 support. various cleanups (like avoid hardcoding '16').
from kame
2003-07-22 03:24:23 +00:00
itojun 409ba7efc4 cosmetic 2003-07-22 03:21:21 +00:00
lukem 70e86ffb8d add more rules to disable default '.cc -> NULL' transforms,
because the default rules cause problems if "valarray.cc" is newer
than "valarray" (for example)
2003-07-22 02:52:37 +00:00
itojun e4feda72ab avoid code dup when check broadcast addr in bind(2) 2003-07-22 02:09:30 +00:00
nathanw 6d30f1a3db Disable cancellation on the first lock, too, not just on internal
recursive locks (Duh).

Disable cancellation around the cond_wait() call, since that's also a
cancellation point. Arguably, that would be better handled with
pthread_cleanup_*(), but stubbing those for libc is difficult, and the
current non-exception-based implementation of cleanup handlers is
probably no faster than disabling and reenabling cancellation.
Finally, it only happens in the slow path where the thread is going to
sleep anyway...
2003-07-22 00:56:25 +00:00
matt 9925d4a0c7 Since telnetd has ignored the USER environment variable for logging in for
quite a bit of time, make telnetd ignore it completely now.  This results
in the :if=: entry in the default gettytab entry to honored instead of
being ignored.  The -h option to telnetd will continue to suppress the
inclusion of :if=:
2003-07-22 00:03:26 +00:00
nathanw 6b22e87c69 Whitespace. 2003-07-21 22:57:46 +00:00
nathanw 5a5cd67fff Set the _LOCKINTERNAL() count on initial locking as well as subsequent
recursive locks.
2003-07-21 22:24:47 +00:00
nathanw 0878df5d25 Lock accesses to pt_flags and pt_cancel.
When disabling cancellation, clear the pt_cancel flag if it was set
and note the cancellation request with PT_FLAG_CS_PENDING. This avoids
a problem where a cancellation request entered but not acted upon before
pthread_setcanclstate(PTHREAD_CANCEL_DISABLE) is called would still be
aceted upon before cancellation was re-enabled.
2003-07-21 22:24:09 +00:00
nathanw 329747fb90 Add a lock on the pt_flags field. 2003-07-21 22:21:07 +00:00
nathanw 0c96790183 Use _sys_write() instead of write() in the assertion and error
functions, to avoid invoking the cancellation machinery in the middle
of trying to print an assertion or error message.
2003-07-21 22:17:14 +00:00
nathanw 68a63a4079 Move initialization of variable 'nthreads' so that pthread_exit() from
the main thread, with no other threads created, exits cleanly instead
of triggering an assertion in pthread_next().
2003-07-21 22:14:57 +00:00
nathanw f0dee7380d KNF a bit. 2003-07-21 19:21:12 +00:00
tshiozak 8506e58599 add new locales - bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13 2003-07-21 17:45:50 +00:00
tshiozak e0d4d9ac4d add new locales - bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13
These are obtained from FreeBSD. Thanks!
2003-07-21 17:41:16 +00:00
tshiozak 7264d9073d add new locales: bg_BG.CP1251 el_GR.ISO8859-7 hy_AM.ARMSCII-8 lt_LT.ISO8859-13 2003-07-21 17:30:33 +00:00
hannken 879ba21504 Typo: __HAVE_BITENDIAN_BITOPS -> __HAVE_BIGENDIAN_BITOPS 2003-07-21 16:10:50 +00:00
skrll ddc9322f3b Support immediate binding on arm. 2003-07-21 15:34:35 +00:00
skrll b2695e5a1f arm and sh5 also have bogus DT_TEXTRELs. sh5 was already covered so just
update the comment.
2003-07-21 15:17:55 +00:00
agc 8a3e64ceb9 Fix a tyop - we want the readlink binary and manual pages when HOSTPROG
is not defined.
2003-07-21 10:16:55 +00:00
jdolecek 98a5f82f01 add rnd hooks 2003-07-21 08:38:56 +00:00
thorpej 31ede4a9e3 Pull in host-tool config.h, if necessary. 2003-07-21 07:10:28 +00:00
itojun 074166110c permit bind(2) to broadcast address, as it was permitted before.
(for instance, "ntpd -b" was broken since revision 1.82)
found report on http://pc.2ch.net/unix
2003-07-21 07:02:35 +00:00
igy fcd9e244be Delaying to mask interrupt by hardware until actually it occurs.
The new code maintains two variables 'current_spl_level' and
'hardware_spl_level'.  Variable hardware_spl_level reflects actual
priority level at the hardware's point of view.  hardware_spl_level is
always synchronized to hardware.

splraise() just increases current_spl_level.  splx() sets
current_spl_level.  If (and only if) hardware_spl_level and
current_spl_level is not same, splx() synchronizes interrupt mask
register and hardware_spl_level to current_spl_level.

In most case, splraise() raises current_spl_level and splx() restores
only current_spl_level.

When an interrupt occurs, hardware_spl_level and interrupt mask
register are synchronized to current_spl_level.

In this implementation, during a higher priority interrupt handler is
running, lower priority interrupts never cause intr_dispatch() to run.
It will avoid some race condition.
2003-07-21 06:17:32 +00:00
thorpej 06d939d5ed Include sysmon earlier. 2003-07-21 05:35:49 +00:00
itojun 25ad1ea430 UPPORT_UTMP{,X} outside of .if KERBEROS. PR 22202 2003-07-21 03:37:43 +00:00
lukem aac682b31f tweak how postinstall-fix-obsolete is made. (may fix various problem reports) 2003-07-21 02:01:42 +00:00
mrg dd10ebe3f2 fix a now-wrong comment. 2003-07-21 00:55:59 +00:00