ima_fs.c (f850a7c040d9faafb41bceb0a05d6bb7432c8c7a) | ima_fs.c (932995f0ce52525b32ff5127b522c2c164de3810) |
---|---|
1/* 2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * 4 * Authors: 5 * Kylene Hall <kjhall@us.ibm.com> 6 * Reiner Sailer <sailer@us.ibm.com> 7 * Mimi Zohar <zohar@us.ibm.com> 8 * --- 305 unchanged lines hidden (view full) --- 314} 315 316static struct file_operations ima_measure_policy_ops = { 317 .open = ima_open_policy, 318 .write = ima_write_policy, 319 .release = ima_release_policy 320}; 321 | 1/* 2 * Copyright (C) 2005,2006,2007,2008 IBM Corporation 3 * 4 * Authors: 5 * Kylene Hall <kjhall@us.ibm.com> 6 * Reiner Sailer <sailer@us.ibm.com> 7 * Mimi Zohar <zohar@us.ibm.com> 8 * --- 305 unchanged lines hidden (view full) --- 314} 315 316static struct file_operations ima_measure_policy_ops = { 317 .open = ima_open_policy, 318 .write = ima_write_policy, 319 .release = ima_release_policy 320}; 321 |
322int ima_fs_init(void) | 322int __init ima_fs_init(void) |
323{ 324 ima_dir = securityfs_create_dir("ima", NULL); 325 if (IS_ERR(ima_dir)) 326 return -1; 327 328 binary_runtime_measurements = 329 securityfs_create_file("binary_runtime_measurements", 330 S_IRUSR | S_IRGRP, ima_dir, NULL, --- 50 unchanged lines hidden --- | 323{ 324 ima_dir = securityfs_create_dir("ima", NULL); 325 if (IS_ERR(ima_dir)) 326 return -1; 327 328 binary_runtime_measurements = 329 securityfs_create_file("binary_runtime_measurements", 330 S_IRUSR | S_IRGRP, ima_dir, NULL, --- 50 unchanged lines hidden --- |