All of lore.kernel.org
 help / color / mirror / Atom feed
* Removing a module that does not exist should not be an error.
@ 2009-02-17 16:50 Daniel J Walsh
  0 siblings, 0 replies; only message in thread
From: Daniel J Walsh @ 2009-02-17 16:50 UTC (permalink / raw)
  To: SE Linux

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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This allows us to run a command that removes several modules while
installing others.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkma6r8ACgkQrlYvE4MpobPXgwCgzyp+iRSfgj4FMmTuvj2+8k9Y
nooAoMdbsPa2fY/P5hB7qPvNdItOyfCG
=VQkC
-----END PGP SIGNATURE-----

[-- Attachment #2: nsapolicycoreutils_semodule_semodule.c.patch --]
[-- Type: text/plain, Size: 349 bytes --]

--- nsapolicycoreutils/semodule/semodule.c	2009-01-13 08:45:35.000000000 -0500
+++ policycoreutils-2.0.61/semodule/semodule.c	2009-01-28 16:52:58.000000000 -0500
@@ -359,6 +363,9 @@
 					     mode_arg);
 				}
 				result = semanage_module_remove(sh, mode_arg);
+				if ( result == -2 ) { 
+					continue;
+				}
 				break;
 			}
 		case LIST_M:{

[-- Attachment #3: nsapolicycoreutils_semodule_semodule.c.patch.sig --]
[-- Type: application/pgp-signature, Size: 72 bytes --]

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

only message in thread, other threads:[~2009-02-17 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-17 16:50 Removing a module that does not exist should not be an error Daniel J Walsh

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.