security:policydb.h Fix a space with "SE Linux"
PATCH 1/1 security:policydb.h Fix a space with "SE Linux"
Fix the space between "SE Linux", to match the other definitions of "SELinux", in the system.
--- security/selinux/ss/policydb.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
security/selinux/ss/policydb.h +1 -1
@@ -281,7 +281,7 @@ extern int policydb_read(struct policydb *p, void *fp);#define OBJECT_R_VAL 1#define POLICYDB_MAGIC SELINUX_MAGIC -#define POLICYDB_STRING "SE Linux" +#define POLICYDB_STRING "SELinux"struct policy_file {char *data;
Signature · 7 lines
1.7.1.rc1.21.gf3bd6 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
James Morris
NAKQuoted 4 lines · Justin P. Mattock
Fix the space between "SE Linux", to match the other definitions of "SELinux", in the system.
Signed-off-by Justin P. Mattock <[email protected]>
NAK, please look at how this is used.
Quoted 27 lines
--- security/selinux/ss/policydb.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)security/selinux/ss/policydb.h +1
-1@@ -281,7 +281,7 @@ extern int policydb_read(struct policydb *p, void *fp);#define OBJECT_R_VAL 1#define POLICYDB_MAGIC SELINUX_MAGIC -#define POLICYDB_STRING "SE Linux" +#define POLICYDB_STRING "SELinux"struct policy_file {char *data;Signature · 7 lines
1.7.1.rc1.21.gf3bd6 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Signature · 7 lines
James Morris <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 9 lines · James Morris
Quoted 4 lines · Justin P. Mattock
Fix the space between "SE Linux", to match the other definitions of "SELinux", in the system.
Signed-off-by Justin P. Mattock<[email protected]>NAK, please look at how this is used.
ahh.. I thought this was printk ing things
into dmesg.. but it's not it's a strlen.
Quoted 23 lines
Quoted 23 lines
--- security/selinux/ss/policydb.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)security/selinux/ss/policydb.h +1
-2@@ -281,7 +281,7 @@ extern int policydb_read(struct policydb *p, void *fp);#define OBJECT_R_VAL 1#define POLICYDB_MAGIC SELINUX_MAGIC -#define POLICYDB_STRING "SE Linux" +#define POLICYDB_STRING "SELinux"struct policy_file {char *data; --1.7.1.rc1.21.gf3bd6
Quoted 6 lines
Quoted 5 lines
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
o.k. throwing in the reject pile..
thanks for looking..
Justin P. Mattock
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · Justin P. Mattock
Quoted 5 lines · James Morris
Quoted 3 lines · Justin P. Mattock
Fix the space between "SE Linux", to match the other definitions of "SELinux", in the system.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Signed-off-by Justin P. Mattock<[email protected]>NAK, please look at how this is used.
ahh.. I thought this was printk ing things
into dmesg.. but it's not it's a strlen.
That string is part of the header of the binary policy file. You can't change it without breaking compatibility. It has always been that way in mainline Linux 2.6, and predates that in the SELinux code (circa 2002).
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 12 lines · Stephen Smalley
Quoted 11 lines · Justin P. Mattock
Quoted 9 lines · James Morris
Quoted 4 lines · Justin P. Mattock
Fix the space between "SE Linux", to match the other definitions of "SELinux", in the system.
Signed-off-by Justin P. Mattock<[email protected]>NAK, please look at how this is used.
Quoted 8 lines
Quoted 2 lines
ahh.. I thought this was printk ing things
into dmesg.. but it's not it's a strlen.That string is part of the header of the binary policy file. You can't change it without breaking compatibility. It has always been that way in mainline Linux 2.6, and predates that in the SELinux code (circa 2002).
I did see, where it's being called
but while looking at the code, I didn't
get what it was doing(to the most part)
then after really looking at strlen
it's(like what you had said)
the header of the binary file or
the string length
so to change this would breaks
lots of things!!("great just
what I need"..)
thanks for looking at this.
Justin P. Mattock
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.