935 |
|
|
936 |
ReadAddressGroupPolicy() fails if both "path_group" and "address_group" are used |
ReadAddressGroupPolicy() fails if both "path_group" and "address_group" are used |
937 |
because I forgot to set "head->read_var1 = NULL". |
because I forgot to set "head->read_var1 = NULL". |
938 |
|
|
939 |
|
Fix 2007/07/10 |
940 |
|
|
941 |
|
@ Add compat_sys_stime() hook. |
942 |
|
|
943 |
|
Some of 64bit kernels support compat_sys_stime() |
944 |
|
but permission check was missing. |
945 |
|
|
946 |
|
Version 1.4.2 2007/07/13 Bug fix release. |
947 |
|
|
948 |
|
Fix 2007/08/06 |
949 |
|
|
950 |
|
@ Remove mount-flags manipulation. |
951 |
|
|
952 |
|
Until now, administrator is permitted to turn on/off specific mount options |
953 |
|
regardless of mount options passed to kernel. |
954 |
|
I removed this feature because "exact option matching" sounds better than |
955 |
|
"automatic option enabler/disabler". |
956 |
|
|
957 |
|
@ Remove /proc/ccs/info/mapping . |
958 |
|
|
959 |
|
I removed /proc/ccs/info/mapping because nobody seems to use this feature. |
960 |
|
|
961 |
|
@ Call external policy loader automatically. |
962 |
|
|
963 |
|
Until now, users had to add init=/.init parameter to load policy |
964 |
|
before /sbin/init starts. |
965 |
|
I inserted call_usermodehelper() to call external policy loader when |
966 |
|
execve("/sbin/init") is requested and external policy loader exists. |
967 |
|
|
968 |
|
This change will remove init=/.init parameter from most environment, |
969 |
|
although call_usermodehelper() can't handle interactive operations. |
970 |
|
|
971 |
|
@ Move external policy loader from /.init to /sbin/ccs-init . |
972 |
|
|
973 |
|
Installing programs in / directory is not good for packaging. |
974 |
|
|
975 |
|
Fix 2007/08/13 |
976 |
|
|
977 |
|
@ Update external policy loader. |
978 |
|
|
979 |
|
It turned out that /sbin/ccs-init invoked via call_usermodehelper() |
980 |
|
can handle interactive operations by opening /dev/console . |
981 |
|
Now, there is no difference between init=/sbin/ccs-init and |
982 |
|
call_usermodehelper("/sbin/ccs-init"), and users no longer need to |
983 |
|
add init=/sbin/ccs-init parameter to load policy before /sbin/init starts. |
984 |
|
|
985 |
|
Fix 2007/08/14 |
986 |
|
|
987 |
|
@ Update recvmsg() hooks. |
988 |
|
|
989 |
|
Until now, it was impossible to apply network access control for |
990 |
|
incoming UDP and RAW packets if they are brought to userland using |
991 |
|
read() or recvmsg() with NULL address because address buffer is NULL. |
992 |
|
I moved hooks from sock_recvmsg() to skb_recv_datagram() so that |
993 |
|
network access control for incoming UDP and RAW packets always work. |
994 |
|
|
995 |
|
Fix 2007/03/07 |
996 |
|
|
997 |
|
@ Return appropriate error code for CheckMountPermission(). |
998 |
|
|
999 |
|
I was returning -EPERM if something is wrong with CheckMountPermission(). |
1000 |
|
But SELinux determines whether selinuxfs is supported by kernel |
1001 |
|
based on whether error code is -ENODEV or not. |
1002 |
|
So I stopped returning -EPERM unconditionally. |