Commit Graph

168046 Commits

Author SHA1 Message Date
jmmv
bf266e554b Fix esym calculation to match comments. Reported by Gao Ya'nan in
PR port-i386/38170.
2008-03-22 16:50:17 +00:00
mlelstv
fcf1d7cd15 Remove computed source files that may confuse mkdep. 2008-03-22 16:17:50 +00:00
christos
4897e6c085 bring some stuff from time_t=64...
- add sysalign parameter to syscalls.conf
- add compat_50
2008-03-22 15:11:01 +00:00
reed
0b1fe5192d In example, change dd count size and also chmod so others can't read swap. 2008-03-22 14:39:57 +00:00
ad
69c15cf00b Make it compile. 2008-03-22 14:28:10 +00:00
ad
3685a3103f vn_close no longer takes a 'struct lwp' argument. 2008-03-22 14:21:56 +00:00
ad
527a0b7dab Regen. 2008-03-22 14:20:30 +00:00
ad
f5405b27b2 Unmark kevent/kqueue as MPSAFE. There seems to be some kind of deadlock
involving kernel_lock.
2008-03-22 14:20:09 +00:00
ad
783e2f6db5 Back out previous. It seems to expose another bug in libpthread/libc,
potentially errno being used before threading is up and running.
2008-03-22 14:19:27 +00:00
jmmv
978a8525ec Add obsolete entries for Heimdal-1.1 import. Hi, mlelstv@! 2008-03-22 13:28:12 +00:00
mlelstv
e160244ccb match whitespace after RCSID 2008-03-22 13:08:21 +00:00
mlelstv
1ea66c56df NetBSD uses __RCSID 2008-03-22 13:03:05 +00:00
mlelstv
61c7bde65a Heimdal on NetBSD uses __RCSID. 2008-03-22 12:43:47 +00:00
jmmv
dad672bb3e Beleatedly document the MODULAR kernel option and mk.conf's MKMODULAR.
Per hubertf@'s request.
2008-03-22 12:29:01 +00:00
lukem
a6de26fe1b add USE_* to params 2008-03-22 12:02:59 +00:00
mlelstv
5d9c8e15e0 Import Heimdal-1.1
one more missing file
2008-03-22 10:35:47 +00:00
yamt
d92af407ba call setlocale so that nl_langinfo makes sense. 2008-03-22 10:30:21 +00:00
yamt
9adad93037 wrap a long line. 2008-03-22 10:24:17 +00:00
mlelstv
d5be9e9c1d Import Heimdal-1.1
more files
2008-03-22 09:39:22 +00:00
mlelstv
2370a334ab Import Heimdal-1.1
more missing files
2008-03-22 09:29:55 +00:00
mlelstv
2af0cb41eb Import Heimdal-1.1
Files missing from first commit.
2008-03-22 09:24:06 +00:00
mlelstv
bc2aa8cb1a document the import of Heimdal-1.1 2008-03-22 09:06:34 +00:00
mlelstv
b0f88a0388 Import Heimdal-1.1 2008-03-22 08:36:48 +00:00
bjs
d5e8b5ed97 Allow this to compile if LISTQ is undefined:
- Put '#ifdef LISTQ' ... '#endif' pairs around pageq_insert_head()
	  and clockpro_insert_head().

	- Add missing argument to printf statement.
2008-03-22 05:50:42 +00:00
nakayama
d0e8e57d7d Lock also on freeing own context, and add assertion. 2008-03-22 04:15:49 +00:00
nakayama
c7f58e76ff Insert a delay with enabling interrupts to avoid deadlocks
when sending IPI is failed.
2008-03-22 04:12:32 +00:00
uwe
823b306d1e Revert interrupt stack changes. There are some issues and, at least
in the current form, they complicate implementation of fast software
interrupts.  I'd rather get fast softints in now and may be revisit
interrupt stack later.
2008-03-22 03:23:27 +00:00
ad
5456139476 Catch up with recent file descriptor changes. 2008-03-22 02:39:06 +00:00
bjs
3b2cc68264 fdputfile -> fd_putfile 2008-03-22 01:24:23 +00:00
uwe
57ea1b0849 Oops, delete commented out line forgotten in previous. 2008-03-22 00:21:52 +00:00
uwe
18d9c9643e On SH4 we must be running on P2 to access memory-mapped TLB arrays.
Print DA2 again - that messenger was shot in 1.34
2008-03-22 00:15:41 +00:00
rmind
cbb7f92857 unp_gc: unlock filelist_lock in a case of restart. 2008-03-21 23:38:40 +00:00
christos
ab6254493d Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
2008-03-21 23:13:48 +00:00
ad
141056103a Er, regen... 2008-03-21 22:12:13 +00:00
ad
40607e5bba Regen. 2008-03-21 21:59:27 +00:00
ad
bc370563bc Mark kqueue/kevent MPSAFE. 2008-03-21 21:58:57 +00:00
ad
8d6e52aaa9 4.99.56 - file descriptor and kqueue changes 2008-03-21 21:56:53 +00:00
ad
a9ca7a3734 Catch up with descriptor handling changes. See kern_descrip.c revision
1.173 for details.
2008-03-21 21:54:58 +00:00
ad
c743ad7159 File descriptor changes, discussed on tech-kern:
- Redo reference counting to be sane.  LWPs accessing files take a short
  term reference on the local file descriptor.  This is the most common
  case.  While a file is in a process descriptor table, a reference is
  held to the file.  The file reference count only changes during control
  operations like open() or close().  Code that comes at files from an
  unusual direction (i.e. foreign to the process) like procfs or sysctl
  takes a reference on the file (f_count), and not on a descriptor.

- Remove knowledge of reference counting and locking from most code that
  deals with files.

- Make the usual case of file descriptor lookup lockless.

- Make kqueue MP and MT safe. PR kern/38098, PR kern/38137.

- Fix numerous file handling bugs, and bugs in the descriptor code that
  affected multithreaded processes.

- Split descriptor system calls out into sys_descrip.c.

- A few stylistic changes: KNF, remove unused casts now that caddr_t is
  gone. Replace dumb gotos with loop control in a few places.

- Don't do redundant pointer passing (struct proc, lwp, filedesc *) unless
  the routine is likely to be inlined.  Most of the time it's about the
  current process.
2008-03-21 21:53:35 +00:00
reed
4be51e0191 Add five more tips. 2008-03-21 21:45:30 +00:00
ad
159f554369 Move pthread__errno() into pthread_specific.c so it gets the "no stack
frame" treatment.
2008-03-21 21:35:43 +00:00
reed
6a0fa0e83c Fix reference to sshd_config manpage. 2008-03-21 21:27:16 +00:00
reed
b89951ff87 Add "netbsd-tips" fortune database with 23 initial fortunes --
actually hints or suggestions or tips on using NetBSD.
Please share your brief NetBSD usage tips.
If you want to discuss or share suggestions, have a look
at http://wiki.netbsd.se/netbsd-tips wiki page.
2008-03-21 21:09:48 +00:00
plunky
8b2b4c8612 use devsw_name2chr() to look up the major number of the midi device as
it is a character device
2008-03-21 19:33:24 +00:00
plunky
606c30fdca add devsw_name2chr() function to look up character devices 2008-03-21 19:32:07 +00:00
plunky
755dfb4f38 when queueing a message back to Venus, prioritise signals by inserting
them at the head of the queue.

The original code had a comment saying to do this but the INSQUE did
not have any way to do that so it didn't actually
2008-03-21 18:02:39 +00:00
plunky
72ac0bcc50 convert more insque/remque style queuing to use a queue(3) TAILQ,
this necessitates using a flag to indicate vc_open instead of abusing
the queue pointer but apart from that there is no functional
difference.
2008-03-21 17:59:57 +00:00
ad
0c65d1b648 - Use atomic_inc_uint() to maintain the global count.
- Use a barrier to sync thread start.

Ok yamt@.
2008-03-21 16:03:33 +00:00
jdc
915ba4ba52 Increment libcurses minor version (termattrs() and term_attrs() added). 2008-03-21 13:43:36 +00:00
jdc
805ac24bda Add termattrs() and term_attrs().
Order the descriptions so that functions handling normal and functions
handling wide attributes are grouped together.
2008-03-21 13:43:17 +00:00