command line options in log

Discuss and suggest new grsecurity features

Moderators: spender, PaX Team

command line options in log

Postby KDE » Fri Jan 25, 2013 10:27 am

When application crashes or is terminated by PAX, there is path of executable in log, but no command line options.
It would help to reproduce crash if also command line options were present in log.

PAX: execution attempt in: <anonymous mapping>
grsec: Segmentation fault occurred at (nil)
KDE
 
Posts: 57
Joined: Sat Feb 09, 2008 5:29 am

Re: command line options in log

Postby PaX Team » Fri Jan 25, 2013 11:29 am

since the command line is stored in userland, it's not reliable. on the other hand PaX gives you a much better way to debug the problem: coredumps. so just run your failing app with coredumps enabled (usually the core dump size ulimit is set to 0 by default) and then you can look at not only the command line options but the entire address space as well.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity development

cron