Introduced new protection flag B_USER_CLONEABLE_AREA. It makes kernel areas cloneable for userland apps.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11044 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-01-25 22:11:59 +00:00
parent acfb502dcf
commit 6e9582baf1

View File

@ -72,8 +72,9 @@ typedef struct area_info {
#define B_ANY_KERNEL_ADDRESS 4
/* area protection */
#define B_READ_AREA 1
#define B_WRITE_AREA 2
#define B_READ_AREA 0x01
#define B_WRITE_AREA 0x02
#define B_USER_CLONEABLE_AREA 0x04 // relevant for kernel areas only
extern area_id create_area(const char *name, void **start_addr, uint32 addr_spec,
size_t size, uint32 lock, uint32 protection);