From: Janak Desai <janak@us.ibm.com>
To: russell@coker.com.au
Cc: jvdias@redhat.com, jfs@computer.org, ciaranm@gentoo.org,
dwalsh@redhat.com, sgrubb@redhat.com, sds@tycho.nsa.gov,
selinux@tycho.nsa.gov
Subject: Re: [RFC] [PATCH] Extend vixie-cron to allow cron jobs at multiple security contexts
Date: Wed, 12 Apr 2006 22:19:21 -0400 [thread overview]
Message-ID: <443DB529.60508@us.ibm.com> (raw)
In-Reply-To: <200604121859.50999.russell@coker.com.au>
Russell Coker wrote:
>On Saturday 08 April 2006 01:16, JANAK DESAI <janak@us.ibm.com> wrote:
>
>
>>+ if ((strlen(pw->pw_name) +
>>+ strlen((char *)context)) >= sizeof User) {
>>
>>
>
>Shouldn't that be the following instead?
> if ((strlen(pw->pw_name) +
> strlen((char *)context)) + 2 > sizeof User) {
>
>
>
>>+ if (strlen(optarg) >= sizeof User)
>>
>>
>
>Shouldn't that be the following instead?
> if (strlen(optarg) + 1 >= sizeof(User) )
>
>
>
Thanks Russell. You are correct. I will fix both of the above problems.
Javier, I will forward you my original posting of the patch in a
seperate email.
-Janak
--
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.
prev parent reply other threads:[~2006-04-13 2:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-07 15:16 [RFC] [PATCH] Extend vixie-cron to allow cron jobs at multiple security contexts JANAK DESAI
2006-04-12 8:59 ` Russell Coker
2006-04-12 12:14 ` Steve Greenland
2006-04-13 2:19 ` Janak Desai [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=443DB529.60508@us.ibm.com \
--to=janak@us.ibm.com \
--cc=ciaranm@gentoo.org \
--cc=dwalsh@redhat.com \
--cc=jfs@computer.org \
--cc=jvdias@redhat.com \
--cc=russell@coker.com.au \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=sgrubb@redhat.com \
/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.