public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cyclictest: process option before checking for permissions
@ 2009-07-13 12:34 Sebastian Andrzej Siewior
  2009-07-13 17:38 ` Clark Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2009-07-13 12:34 UTC (permalink / raw)
  To: Clark Williams; +Cc: linux-rt-users

so a normal user is able to take a look on the available options

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 src/cyclictest/cyclictest.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index e1c9e0e..2b4dc50 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -1185,11 +1185,11 @@ int main(int argc, char **argv)
 	int max_cpus = sysconf(_SC_NPROCESSORS_CONF);
 	int i, ret = -1;
 
+	process_options(argc, argv);
+
 	if (check_privs())
 		exit(-1);
 
-	process_options(argc, argv);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] cyclictest: process option before checking for permissions
  2009-07-13 12:34 [PATCH] cyclictest: process option before checking for permissions Sebastian Andrzej Siewior
@ 2009-07-13 17:38 ` Clark Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Clark Williams @ 2009-07-13 17:38 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: linux-rt-users

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

On Mon, 13 Jul 2009 14:34:48 +0200
Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:

> so a normal user is able to take a look on the available options
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---
>  src/cyclictest/cyclictest.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 

Thanks (I've been meaning to and forgetting to do this for *forever*).

Merged and pushed in 0.49

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-13 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13 12:34 [PATCH] cyclictest: process option before checking for permissions Sebastian Andrzej Siewior
2009-07-13 17:38 ` Clark Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox