* [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
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