From: Karel Zak <kzak@redhat.com>
To: Benno Schulenberg <bensberg@justemail.net>
Cc: kerolasa@gmail.com, Util-Linux <util-linux@vger.kernel.org>
Subject: Re: hwclock --compare segfaults when run as normal user
Date: Tue, 29 Jul 2014 08:27:18 +0200 [thread overview]
Message-ID: <20140729062718.GN8533@x2.net.home> (raw)
In-Reply-To: <1406573448.201539.146573889.3D4D553B@webmail.messagingengine.com>
On Mon, Jul 28, 2014 at 08:50:48PM +0200, Benno Schulenberg wrote:
>
> On Mon, Jul 28, 2014, at 13:12, Karel Zak wrote:
> > I have no way how to to test it, but can you try the patch below?
> > [...]
> >
> > + if (ur->get_permissions())
> > + return EX_NOPERM;
> > +
>
> Yes, looks better now:
>
> $ ./hwclock --compare
> hwclock: unable to get I/O port access: the iopl(3) call failed.: Operation not permitted
> hwclock: Probably you need root privileges.
Applied, thanks.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
prev parent reply other threads:[~2014-07-29 6:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 12:40 hwclock --compare segfaults when run as normal user Benno Schulenberg
2014-07-26 14:48 ` Sami Kerola
2014-07-26 16:05 ` Benno Schulenberg
2014-07-28 11:12 ` Karel Zak
2014-07-28 18:50 ` Benno Schulenberg
2014-07-29 6:27 ` Karel Zak [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=20140729062718.GN8533@x2.net.home \
--to=kzak@redhat.com \
--cc=bensberg@justemail.net \
--cc=kerolasa@gmail.com \
--cc=util-linux@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox