Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d7e45c8 in mainline


Ignore:
Timestamp:
2010-04-12T23:03:46Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
34aac91
Parents:
1ef0fc3
Message:

sys_ipc_hangup() should treat the phoneid as unative_t so that GET_CHECK_PHONE
will not bless a negative phone number.

Location:
kernel/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/sysipc.h

    r1ef0fc3 rd7e45c8  
    5757unative_t sys_ipc_forward_slow(unative_t callid, unative_t phoneid,
    5858    ipc_data_t *data, int mode);
    59 unative_t sys_ipc_hangup(int phoneid);
     59unative_t sys_ipc_hangup(unative_t phoneid);
    6060unative_t sys_ipc_register_irq(inr_t inr, devno_t devno, unative_t method,
    6161    irq_code_t *ucode);
  • kernel/generic/src/ipc/sysipc.c

    r1ef0fc3 rd7e45c8  
    956956 * @return              Return 0 on success or an error code.
    957957 */
    958 unative_t sys_ipc_hangup(int phoneid)
     958unative_t sys_ipc_hangup(unative_t phoneid)
    959959{
    960960        phone_t *phone;
Note: See TracChangeset for help on using the changeset viewer.