Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 10940] get_kernel_version isn't flexible enough

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 10940] get_kernel_version isn't flexible enough
  • Date: 19 Oct 2006 15:21:05 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=10940





------- Additional Comments From dmlb2000 AT gmail.com 2006-10-19 10:21 -------
(In reply to comment #13)
> Could you be more specific about what the full running kernel check would
> consist of? What tricks would it try before that one?

if [ -f /proc/sys/kenrel/osrelease ] ; then
cat /proc/sys/kernel/osrelease
else
uname -r
fi

since `uname -r` can be over-ridden with a LD_PRELOAD hack it's a security
risk
to use that first. However, `uname -r` does always return something so we
should
use it to get something if all else fails.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page