All of lore.kernel.org
 help / color / mirror / Atom feed
* [SEMANAGE] Toggle modified flag in semanage_policydb_modify
@ 2005-12-13  0:34 Ivan Gyurdiev
  0 siblings, 0 replies; only message in thread
From: Ivan Gyurdiev @ 2005-12-13  0:34 UTC (permalink / raw)
  To: selinux; +Cc: Stephen Smalley

[-- Attachment #1: Type: text/plain, Size: 114 bytes --]

Here's some patches that have been lying around for a while...
This one sets the modify flag in policydb_modify.


[-- Attachment #2: libsemanage.policydb_modify_flag.diff --]
[-- Type: text/x-patch, Size: 439 bytes --]

diff -Naurp --exclude-from excludes old/libsemanage/src/database_policydb.c new/libsemanage/src/database_policydb.c
--- old/libsemanage/src/database_policydb.c	2005-11-04 15:37:49.000000000 -0500
+++ new/libsemanage/src/database_policydb.c	2005-11-23 23:21:26.000000000 -0500
@@ -257,6 +257,7 @@ static int dbase_policydb_modify (
 		dbase->policydb, key, data) < 0)
 		goto err;
 
+	dbase->modified = 1;
 	return STATUS_SUCCESS;
 
 	err:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-13  0:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-13  0:34 [SEMANAGE] Toggle modified flag in semanage_policydb_modify Ivan Gyurdiev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.