From: Ivan Gyurdiev <ivg2@cornell.edu>
To: SELinux List <SELinux@tycho.nsa.gov>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Subject: [ SEMANAGE 2 ] Fix bug in dbase_file_flush
Date: Mon, 31 Oct 2005 01:53:43 -0500 [thread overview]
Message-ID: <4365BF77.9000604@cornell.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 102 bytes --]
This patch fixes a bug in the file flush function.
Applies on top of the large patch I sent earlier.
[-- Attachment #2: libsemanage.fix_flush.diff --]
[-- Type: text/x-patch, Size: 634 bytes --]
diff -Naurp --exclude CVS --exclude ChangeLog --exclude VERSION --exclude 'module_record*' --exclude 'database_directory*' --exclude Makefile old/libsemanage/src/database_file.c new/libsemanage/src/database_file.c
--- old/libsemanage/src/database_file.c 2005-10-31 01:48:29.000000000 -0500
+++ new/libsemanage/src/database_file.c 2005-10-31 01:50:30.000000000 -0500
@@ -180,7 +180,7 @@ static int dbase_file_flush(
if (!dbase->modified || !dbase->cached)
return STATUS_SUCCESS;
- if (!construct_filename(handle, dbase, &fname) < 0)
+ if (construct_filename(handle, dbase, &fname) < 0)
goto err;
str = fopen(fname, "w");
reply other threads:[~2005-10-31 6:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4365BF77.9000604@cornell.edu \
--to=ivg2@cornell.edu \
--cc=SELinux@tycho.nsa.gov \
--cc=sds@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.