cvs commit: src/sys/i386/include tls.h src/gnu/usr.bin/cc34/cc_prep/config dragonfly-spec.h src/gnu/usr.bin/cc34/cc_prep/config/i386 dragonfly.h src/lib/csu/i386 crt1.c src/lib/libc/gen tls.c src/lib/libc/i386/sys cerror.S src/lib/libc/include libc_private.h ...

David Xu davidxu at freebsd.org
Wed May 11 23:51:06 PDT 2005


Matthew Dillon wrote:

    A TCB based critical section is certainly reasonable, and easy for the
    kernel to access.
There will have a syscall which lets user set userland critical address:
      sys_set_user_critical_addr(int *addr);
kernel should remember the address, before delivering signal to
userland, kernel should read the value at the address, if it
is no-zero, it shouldn't deliver signals whose signal handler is
installed.
David Xu





More information about the Commits mailing list