All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: Modification in message for libsemanage
Date: Thu, 08 Mar 2007 14:41:46 -0500	[thread overview]
Message-ID: <45F066FA.5070805@redhat.com> (raw)
In-Reply-To: <45F0640D.8030609@redhat.com>

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

Daniel J Walsh wrote:
> File can be generated by tools other then semanage.
>
Wrong patch, here is the right one.


[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 599 bytes --]

diff --exclude-from=exclude -N -u -r nsalibsemanage/src/database_file.c libsemanage-2.0.0/src/database_file.c
--- nsalibsemanage/src/database_file.c	2006-11-16 17:14:02.000000000 -0500
+++ libsemanage-2.0.0/src/database_file.c	2007-03-08 11:36:09.000000000 -0500
@@ -159,8 +159,7 @@
 	__fsetlocking(str, FSETLOCKING_BYCALLER);
 
 	if (fprintf(str, "# This file is auto-generated by libsemanage\n"
-		    "# Please use the semanage command to make "
-		    "changes\n\n") < 0) {
+		    "# Do not edit directly.\n\n") < 0) {
 
 		ERR(handle, "could not write file header for %s", fname);
 		goto err;

  reply	other threads:[~2007-03-08 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08 19:29 Modification in message for libsemanage Daniel J Walsh
2007-03-08 19:41 ` Daniel J Walsh [this message]
2007-03-12 18:05   ` Stephen Smalley

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=45F066FA.5070805@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=selinux@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.