Question about send mask in MINIX 3.1.2a - Minix

This is a discussion on Question about send mask in MINIX 3.1.2a - Minix ; In kernel/table.c, the following code: #define SRV_M (~0) #define SYS_M (~0) #define USR_M (s(PM_PROC_NR) | s(FS_PROC_NR) | s(RS_PROC_NR) | s(SYSTEM)) .... What i want to ask is user process can send message to system task? If it can't, why we ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Question about send mask in MINIX 3.1.2a

  1. Question about send mask in MINIX 3.1.2a

    In kernel/table.c, the following code:

    #define SRV_M (~0)
    #define SYS_M (~0)
    #define USR_M (s(PM_PROC_NR) | s(FS_PROC_NR) | s(RS_PROC_NR) |
    s(SYSTEM))
    ....

    What i want to ask is user process can send message to system task?
    If it can't, why we have the code: #define USR_M (s(PM_PROC_NR) |
    s(FS_PROC_NR) | s(RS_PROC_NR) | s(SYSTEM)) in table.c ?

    Sorry about my english. Thanks!


  2. Re: Question about send mask in MINIX 3.1.2a

    All,

    >
    > What i want to ask is user process can send message to system task?
    > If it can't, why we have the code: #define USR_M (s(PM_PROC_NR) |
    > s(FS_PROC_NR) | s(RS_PROC_NR) | s(SYSTEM)) in table.c ?


    User processes can send SYSTEM messages, but there are no actual
    calls that are allowed currently ('no_c' in the 'call' column).

    =Ben



+ Reply to Thread