Commit Graph

200317 Commits

Author SHA1 Message Date
rmind
5cfbc4e638 Bump to 5.99.50 for recent changes. 2011-04-24 21:50:34 +00:00
elric
07b0c75a48 We no longer need -I/usr/include/krb5. 2011-04-24 21:42:06 +00:00
rmind
800683e30d sys_link: prevent hard links on directories (cross-mount operations are
already prevented).  File systems are no longer responsible to check this.
Clean up and add asserts (note that dvp == vp cannot happen in vop_link).

OK dholland@
2011-04-24 21:35:29 +00:00
elric
5e6c3b7a0c #include <com_err.h> -> #include <krb5/com_err.h>. 2011-04-24 21:18:24 +00:00
elric
89208b4ceb Stop using functions deprecated by Heimdal. Also, if krb5_init_context()
fails, we can't use Kerberos functions to grab error strings, we
resort to strerror(3) which is what Heimdal's deprecated function
does in this case.
2011-04-24 21:16:43 +00:00
rmind
507c30fb60 Drop extern inline for fd_getfile(). Apparently, GCC already ignores it. 2011-04-24 20:30:38 +00:00
rmind
603e520a84 - Move some checks into mqueue_get() and avoid some duplication.
- Simplify message queue descriptor unlinking and closure operations.
- Update proc_t::p_mqueue_cnt atomically.  Inherit it on fork().
- Use separate allocation for the name of message queue.
2011-04-24 20:17:53 +00:00
elric
8d159f43a8 We no longer need to -I/usr/include/krb5. 2011-04-24 19:00:56 +00:00
elric
6daa88e0a9 Stop using functions that are deprecated in Heimdal. 2011-04-24 19:00:31 +00:00
plunky
b0b433c20f use static inline for ec_readmem(), it is not referenced elsewhere
(avoids C99 vs GNU semantics for external inline functions)
2011-04-24 18:54:41 +00:00
elric
0fce8776fa Stop using functions that are marked as deprecated in Heimdal. 2011-04-24 18:53:55 +00:00
plunky
20a9540ac8 use static inline for msk_rxvalid(), it is not referenced elsewhere
(avoids C99 vs GNU semantics for external inline functions)
2011-04-24 18:53:02 +00:00
rmind
177a8696c7 Inclusion for malloc decls (missed in previous commit). 2011-04-24 18:52:26 +00:00
elric
a9c7955034 Remove use of functions marked as deprecated in Heimdal. 2011-04-24 18:48:04 +00:00
rmind
bd5b92d68b - Replace few malloc(9) uses with kmem(9).
- Rename buf_malloc() to buf_alloc(), fix comments.
- Remove some unnecessary inclusions.
2011-04-24 18:46:22 +00:00
rmind
2626d57668 Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency.  Remove some unnecessary malloc.h inclusions as well.
2011-04-24 16:26:51 +00:00
elric
d4c49b6d11 Stop using -I/usr/include/gssapi and -I/usr/include/krb5. We must in this
case find kafs.h as krb5/kafs.h.
2011-04-24 14:09:39 +00:00
elric
25a58ef3ee Stop using functions that are marked as deprecated in Heimdal. 2011-04-24 14:01:46 +00:00
tron
8a13bd182a Don't define "fenv_t" and "fexcept_t" for NetBSD/sparc64 because the
definitions clash with "/usr/include/sparc64/fenv.h".

This fixes the build of e.g. "pkgsrc/databases/mysql51-client" under
NetBSD/sparc64 current.
2011-04-24 11:32:36 +00:00
jmmv
9ef6767558 List myself as a contributor. 2011-04-24 07:18:59 +00:00
jmmv
94a4f45f78 Remove the "This option..." sentence prefix for all option definitions.
Adjust some sentences so that the new text makes sense.  OK mrg@.
2011-04-24 07:17:02 +00:00
rmind
520d1ecfd3 Initialize UVM loaning subsystem a bit later, after kmem(9).
Makes UVMHIST work again.
2011-04-24 03:56:50 +00:00
christos
322a9e7966 fix freudian slip 2011-04-24 01:56:44 +00:00
mrg
d9a6814d47 move the iodone setup and tear down into rf_engine.c. this fixes
"raidctl -u" and should also help the case where we fail to setup
a device part of the way through.
2011-04-23 22:22:46 +00:00
rmind
6a7d2e04ad - Sprinkle __cacheline_aligned and __read_mostly in file descriptor code.
- While here, remove trailing whitespaces, KNF.
2011-04-23 18:57:27 +00:00
rmind
c22a36981f Replace "malloc" in comments, remove unnecessary header inclusions. 2011-04-23 18:14:12 +00:00
tron
581f9c7a22 Add and entry for the Intel i82545GM with external PHY which works fine:
wm0 at pci1 dev 1 function 0: Intel i82545GM 1000BASE-T Ethernet, rev. 4
wm0: interrupting at ivec 0
wm0: 64-bit 66MHz PCI bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:04:23:xx:xx:xx
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 5
2011-04-23 16:46:51 +00:00
joerg
c5f8d1393d Fix a Freudian slip found by rmind 2011-04-23 16:40:08 +00:00
rjs
bb870dae98 Add cache module to the build.
Fixes PR/42809.
2011-04-23 15:26:05 +00:00
hannken
7c9d6febb5 ffs_snapshot(): return an error if the node is an invalid snapshot. 2011-04-23 08:23:52 +00:00
hannken
36046fc79f Try to keep snapshot indirect blocks contiguous.
This speeds up snapshot creation by a factor of ~3 and reduces
the file system suspension time by a factor of ~5.
2011-04-23 07:36:02 +00:00
mrg
b19ce40796 convert the iodone_lock to a mutex, and use a condvar for signalling.
this only handles the smallest use of old simple_lock/tsleep/wakeup
APIs inside raidframe, and it points out that cv(9)'s have only one
wait channel per cv, whereas each tsleep() caller can specify a
different wait channel.  this change removes the difference between
normal raidio and waiting for IO during shutdown.

i've tested this one 3 systems, ran atf, and had mlelstv and rmind
review the change.
2011-04-23 06:29:05 +00:00
joerg
5c2887509e Don't kill the read(2) stub, just the magic around it. 2011-04-22 14:18:34 +00:00
adam
6eea015c15 Added postgresql-license 2011-04-22 08:19:25 +00:00
joerg
28617196df Add t_threadjmp 2011-04-22 00:53:44 +00:00
haad
3c44b4003a Workaround problem with qemu where jot 100 produce garbage otput like this
93
94
:+
:,
:-
:.
:/
100

This can't be used as name of file, change jot cmd to work in all cases.
2011-04-21 22:26:46 +00:00
joerg
bf965eb8bc Replace gnugrep keyword with ! bsdgrep 2011-04-21 20:59:38 +00:00
martin
84bd71a202 Add a variation of the setjmp tests that link to libpthread and verify
pthread_self() stays consistent.
2011-04-21 18:58:20 +00:00
christos
1abb5f1349 Fix signed/unsigned warnings. Discover bug where < 0 case cannot happen,
and change it to >= 0 as intended.
2011-04-21 17:58:56 +00:00
christos
aa50e01f38 Don't compare a pointer < 0; this is obviously a missed * here.
While here, remove shadow variable warnings.
2011-04-21 17:56:24 +00:00
joerg
1a9a81992d BSD grep is good enough if someone really needs src/tools/grep. 2011-04-21 14:27:11 +00:00
joerg
0cef9f9563 Add MKBSDGREP switch for easy testing of the GNU grep
replacement/alternative.
2011-04-21 14:26:33 +00:00
phx
756f61da3c CH3WNAS uses the same chips as a DSM-G600, so they might be compatible. 2011-04-21 13:39:54 +00:00
joerg
77abb554dc Disable Fortification for pthread and rump stubs. 2011-04-21 13:38:14 +00:00
jym
7bda9dcf91 Disestablish softint in the error path. 2011-04-21 13:06:20 +00:00
blymn
da8ae82efe Allow a NULL pointer to be passed as an argument to a call. 2011-04-21 10:23:50 +00:00
haad
35392e7afb Add missed MKDEBUG entry. 2011-04-21 09:45:55 +00:00
haad
1676d4f10c Fix MKDEBUG build for all 64bit architectures which have compat lib installed,
after kerberos import.

hi elric@!
2011-04-21 09:09:33 +00:00
martin
211a501951 Backout previous, it breaks lots of tests (tests/lib/librumphijack for
example).
2011-04-21 08:21:13 +00:00
martin
a128c5080b Backout previous, it causes lots of test failures (tests/fs/nfs for
example).
2011-04-21 08:17:00 +00:00