Files
codezero/include/l4/glue/arm/utcb.h
Bahadir Balban e0492d672f Kernel inspects and sets sender id instead of userspace.
Modified ipc handling so that from now on the kernel inspects and sets
the sender id if the receiver is receiving from L4_ANYTHREAD. This posed
a security problem since the receiver could not trust the sender for
sender information.
2008-02-11 11:11:17 +00:00

23 lines
394 B
C

/*
* Userspace thread control block
*
* Copyright (C) 2007 Bahadir Balban
*/
#ifndef __GLUE_ARM_UTCB_H__
#define __GLUE_ARM_UTCB_H__
#define MR_TOTAL 6
#define MR_TAG 0
#define MR_SENDER 1
#define MR_UNUSED_START 2
/* Compact utcb for now! 8-) */
struct utcb {
u32 mr[MR_TOTAL];
u32 global_id; /* Thread id */
u32 usr_handle; /* Use as TLS */
};
#endif /* __GLUE_ARM_UTCB_H__ */