Casey Schaufler wrote:
+static int smack_shm_associate(struct shmid_kernel *shp, int shmflg)
+{
+ smack_t *ssp = smack_of_shm(shp);
+ int rc;
+
+ if (ssp == NULL)
+ return 0;
+
+ rc = smk_curacc(ssp, MAY_READWRITE);
+ return rc;
+}
No read-only
--- Joshua Brindle [EMAIL PROTECTED] wrote:
Casey Schaufler wrote:
+static int smack_shm_associate(struct shmid_kernel *shp, int shmflg)
+{
+ smack_t *ssp = smack_of_shm(shp);
+ int rc;
+
+ if (ssp == NULL)
+ return 0;
+
+ rc = smk_curacc(ssp, MAY_READWRITE);
+
snip
+
+/*
+ * I hope these are the hokeyist lines of code in the module. Casey.
+ */
+#define DEVPTS_SUPER_MAGIC 0x1cd1
+#define SOCKFS_MAGIC 0x534F434B
+#define PIPEFS_MAGIC 0x50495045
+#define TMPFS_MAGIC0x01021994
snip
+ /*
+* This is pretty
On Sun, Jul 22, 2007 at 09:44:49PM -0700, Casey Schaufler wrote:
I appears that everyone else took the weekend to read
Deathly Hallows* as it's been pretty quiet here. Well,
my wife took first dibs on our copy so I did some polishing
on smack instead. Since no one complained about the size
--- Seth Arnold [EMAIL PROTECTED] wrote:
On Sun, Jul 22, 2007 at 09:44:49PM -0700, Casey Schaufler wrote:
I appears that everyone else took the weekend to read
Deathly Hallows* as it's been pretty quiet here. Well,
my wife took first dibs on our copy so I did some polishing
on smack