===== xen/acm/acm_null_hooks.c 1.1 vs edited ===== --- 1.1/xen/acm/acm_null_hooks.c 2005-06-21 07:28:06 +09:00 +++ edited/xen/acm/acm_null_hooks.c 2005-06-23 20:23:21 +09:00 @@ -19,28 +19,23 @@ return ACM_OK; } - static void null_free_domain_ssid(void *chwall_ssid) { return; } - static int null_dump_binary_policy(u8 *buf, u16 buf_size) { return 0; } - - static int null_set_binary_policy(u8 *buf, u16 buf_size) { - return -1; + return ACM_OK; } - static int null_dump_stats(u8 *buf, u16 buf_size) @@ -49,7 +44,6 @@ return 0; } - /* now define the hook structure similarly to LSM */ struct acm_operations acm_null_ops = { .init_domain_ssid = null_init_domain_ssid, @@ -72,5 +66,4 @@ .fail_grant_map_ref = NULL, .pre_grant_setup = NULL, .fail_grant_setup = NULL - };