All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karl MacMillan <kmacmillan@mentalrootkit.com>
To: Daniel J Walsh <dwalsh@redhat.com>
Cc: SE Linux <selinux@tycho.nsa.gov>, Stephen Smalley <sds@tycho.nsa.gov>
Subject: Re: Patch to fix newrole/more problem where more fails because terminal is not open correctly
Date: Mon, 11 Dec 2006 17:00:17 -0500	[thread overview]
Message-ID: <457DD4F1.3060907@mentalrootkit.com> (raw)
In-Reply-To: <457DC233.2070100@redhat.com>

Daniel J Walsh wrote:
> diff --exclude-from=exclude --exclude POTFILES.in --exclude='*.po' 
> --exclude='*.pot' -N -u -r nsapolicycoreutils/newrole/newrole.c 
> policycoreutils-1.33.6/newrole/newrole.c
> --- nsapolicycoreutils/newrole/newrole.c        2006-11-29 
> 17:11:18.000000000 -0500
> +++ policycoreutils-1.33.6/newrole/newrole.c    2006-12-08 
> 10:34:48.000000000 -0500
> @@ -1120,10 +1120,10 @@
>        fd = open(ttyn, O_RDONLY);
>        if (fd != 0)
>                goto err_close_pam;
> -       fd = open(ttyn, O_WRONLY);
> +       fd = open(ttyn, O_RDWR);
>        if (fd != 1)
>                goto err_close_pam;
> -       fd = open(ttyn, O_WRONLY);
> +       fd = open(ttyn, O_RDWR);
>        if (fd != 2)
>                goto err_close_pam;
> 

Acked-by: Karl MacMillan <kmacmillan@mentalrootkit.com>




--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

      reply	other threads:[~2006-12-11 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-11 20:40 Patch to fix newrole/more problem where more fails because terminal is not open correctly Daniel J Walsh
2006-12-11 22:00 ` Karl MacMillan [this message]

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=457DD4F1.3060907@mentalrootkit.com \
    --to=kmacmillan@mentalrootkit.com \
    --cc=dwalsh@redhat.com \
    --cc=sds@tycho.nsa.gov \
    --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.