Successful patch applied to Debian kernel
Posted: Sat Jul 06, 2013 1:05 am
I hope that my sense of excitement in successfully compiling my very first kernel is not a sign of juvenility because it sure feels good! After a faulty first start with the wrong files, once I put together the right kernel with the patch I had downloaded, the procedure appeared to complete, dare I say, magnificently. I have to say in no uncertain terms that I am truly quite impressed with how well it delivered. Quite so. Well done grsecurity team!
I have a few questions about its procedure so that I can be sure that I am continuing on the right track now. While it was compiling, I carefully watched it and noticed a number of warnings and a few notes passing by. Was there a log made of these messages automatically, one which I could look back over? I would like to read them to see whether anything appears as though it were something I should look into further or take action on. In everything that passed by, I saw only two errors, but they did not appear to me too bad. Here they are:
make[3]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
make[3]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
grsec: protected kernel image paths
CC drivers/accessibility/braille/braille_console.o
LD drivers/accessibility/braille/built-in.o
There were no other errors, I believe. Yet, there is one more issue that I need to mention now and to figure out how to resolve. After installing the Linux kernel using your instruction, "# dpkg -i *.deb", I rebooted immediately and just before the login prompt appeared, I saw this message (which I have never seen previously):
"DebianServer1 login: [81.520471] grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/python2.7[python:3415] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/python2.7[wicd:3348] uid/euid:0/0 gid/egid:0/0"
As that appeared the cursor just blinked below it without returning me to a prompt. I waited quite a while, but it did not change. So, I hit the enter key, and I was returned to a normal login prompt. Do you have any idea what that is about or what specifically I should do about it at this point? Despite this one issue, I do believe that all appears to be working right because I saw the new kernel in the Grub menu, and it was chosen by default. Also, I can see at the prompt, upon issuing this command "uname -r", the following output: "3.2.48-grsec".
-- Patch Daddy
I have a few questions about its procedure so that I can be sure that I am continuing on the right track now. While it was compiling, I carefully watched it and noticed a number of warnings and a few notes passing by. Was there a log made of these messages automatically, one which I could look back over? I would like to read them to see whether anything appears as though it were something I should look into further or take action on. In everything that passed by, I saw only two errors, but they did not appear to me too bad. Here they are:
make[3]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
make[3]: [grsecurity/grsec_hidesym.o] Error 1 (ignored)
grsec: protected kernel image paths
CC drivers/accessibility/braille/braille_console.o
LD drivers/accessibility/braille/built-in.o
There were no other errors, I believe. Yet, there is one more issue that I need to mention now and to figure out how to resolve. After installing the Linux kernel using your instruction, "# dpkg -i *.deb", I rebooted immediately and just before the login prompt appeared, I saw this message (which I have never seen previously):
"DebianServer1 login: [81.520471] grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/python2.7[python:3415] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/python2.7[wicd:3348] uid/euid:0/0 gid/egid:0/0"
As that appeared the cursor just blinked below it without returning me to a prompt. I waited quite a while, but it did not change. So, I hit the enter key, and I was returned to a normal login prompt. Do you have any idea what that is about or what specifically I should do about it at this point? Despite this one issue, I do believe that all appears to be working right because I saw the new kernel in the Grub menu, and it was chosen by default. Also, I can see at the prompt, upon issuing this command "uname -r", the following output: "3.2.48-grsec".
-- Patch Daddy