769 |
|
|
770 |
@ Allow reuse of memory allocated for domain policy. |
@ Allow reuse of memory allocated for domain policy. |
771 |
|
|
772 |
As with domain policy, unlike other policies, didn't have |
Regarding domain policy, unlike other policies, didn't have |
773 |
"is_deleted" flag and new memory were allocated |
"is_deleted" flag and new memory were allocated |
774 |
if the deleted entries are given again. |
if the deleted entries are given again. |
775 |
But to allow administrators switch domain policy periodically, |
But to allow administrators switch domain policy periodically, |
1093 |
@ Remove unused EXPORT_SYMBOL(). |
@ Remove unused EXPORT_SYMBOL(). |
1094 |
|
|
1095 |
Mark some functions static. |
Mark some functions static. |
1096 |
|
|
1097 |
|
Fix 2007/12/18 |
1098 |
|
|
1099 |
|
@ Fix AddMountACL() rejection bug. |
1100 |
|
|
1101 |
|
To my surprise, "mount --bind source dest" accepts |
1102 |
|
not only "both source and dest are directory" |
1103 |
|
but also "both source and dest are non-directory". |
1104 |
|
I was rejecting if dest is not a directory in AddMountACL(). |
1105 |
|
|
1106 |
|
@ Change log format. |
1107 |
|
|
1108 |
|
Profile number and mode is added in audit logs. |
1109 |
|
|
1110 |
|
Fix 2008/01/03 |
1111 |
|
|
1112 |
|
@ Change directive for file's read/write/execute permission. |
1113 |
|
|
1114 |
|
Directives for file's read/write/execute permissions were |
1115 |
|
4/2/1 respectively. But for easier understanding, they are now |
1116 |
|
replaced by read/write/execute (e.g. "allow_read" instead of "4"). |
1117 |
|
But for easier inputting, 4/2/1 are still accepted instead of |
1118 |
|
allow_read/allow_write/allow_execute respectively. |
1119 |
|
|
1120 |
|
@ Change internal data structure. |
1121 |
|
|
1122 |
|
Since I don't have more than 16 types of file permissions, |
1123 |
|
I combined them using bit-fields. |
1124 |
|
|
1125 |
|
Each entry had a field for conditional permission support. |
1126 |
|
But since this field is unlikely used, I separated the field from |
1127 |
|
common part. |
1128 |
|
|
1129 |
|
These changes will reduce memory used by policy. |
1130 |
|
|
1131 |
|
Fix 2008/01/15 |
1132 |
|
|
1133 |
|
@ Add ptrace() hook. |
1134 |
|
|
1135 |
|
To prevent attackers from controlling important processes using |
1136 |
|
ptrace(), I added a hook for ptrace(). |
1137 |
|
Most programs (except strace(1) and gdb(1)) won't use ptrace(2). |
1138 |
|
|
1139 |
|
@ Fix sleep condition check in CheckSocketRecvDatagramPermission(). |
1140 |
|
|
1141 |
|
It seems that correct method to use is in_atomic() |
1142 |
|
rather than in_interrupt() because in_atomic() returns nonzero |
1143 |
|
whenever scheduling is not allowed. |