minix/servers/pm
Tomas Hruby 5b52c5aa02 A reliable way for userspace to check if a msg is from kernel
- IPC_FLG_MSG_FROM_KERNEL status flag is returned to userspace if the
  receive was satisfied by s message which was sent by the kernel on
  behalf of a process. This perfectly reliale information.

- MF_SENDING_FROM_KERNEL flag added to processes to be able to set
  IPC_FLG_MSG_FROM_KERNEL when finishing receive if the receiver
  wasn't ready to receive immediately.

- PM is changed to use this information to confirm that the scheduling
  messages are indeed from the kernel and not faked by a process.

  PM uses sef_receive_status()

- get_work() is removed from PM to make the changes simpler
2010-03-29 11:25:01 +00:00
..
alarm.c panic() cleanup. 2010-03-05 15:05:11 +00:00
break.c - Introduce some macros for field names, so that endpt, pendpt, 2009-09-21 14:48:19 +00:00
const.h Rewrite of boot process 2009-12-11 00:08:19 +00:00
dma.c Move archtypes.h, fpu.h, and stackframe.h 2010-03-09 09:41:14 +00:00
exec.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
forkexit.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
getset.c - Introduce support for sticky bit. 2009-12-20 20:27:14 +00:00
glo.h Kill processes which ignore signals thatshould not be ignored 2010-01-31 19:13:20 +00:00
main.c A reliable way for userspace to check if a msg is from kernel 2010-03-29 11:25:01 +00:00
Makefile Userspace scheduling 2010-03-29 11:07:20 +00:00
mcontext.c - Add support for the ucontext system calls (getcontext, setcontext, 2010-03-12 15:58:41 +00:00
misc.c Userspace scheduling 2010-03-29 11:07:20 +00:00
mproc.h Userspace scheduling 2010-03-29 11:07:20 +00:00
param.h - Introduce support for sticky bit. 2009-12-20 20:27:14 +00:00
pm.h Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util 2005-07-19 13:21:51 +00:00
profile.c Statistical profiling fixes: 2010-02-03 12:27:52 +00:00
proto.h Userspace scheduling 2010-03-29 11:07:20 +00:00
schedule.c Userspace scheduling 2010-03-29 11:07:20 +00:00
signal.c Print stacktrace when a system service fails or when a core dump has to be generated for a user process. 2010-03-22 22:46:29 +00:00
table.c New RS and new signal handling for system processes. 2010-03-17 01:15:29 +00:00
time.c panic() cleanup. 2010-03-05 15:05:11 +00:00
timers.c panic() cleanup. 2010-03-05 15:05:11 +00:00
trace.c panic() cleanup. 2010-03-05 15:05:11 +00:00
type.h Removed 'system process' magic from PM and FS. 2005-05-13 08:57:08 +00:00
utility.c Move archtypes.h, fpu.h, and stackframe.h 2010-03-09 09:41:14 +00:00