I asked: > I know that setting noexec_user_stack=1 in the /etc/system is a Good Thing To > Do and a reboot is necessary to make that change take effect. > > What I have not found is a way to determine if that setting has been enabled > on a particular server. If it is in /etc/system it is set, but how do I know > if it is active? There must be a command to report the setting in the running > kernel, but I as yet have not found it. How would I do this? The answer: echo noexec_user_stack/D | mdb -k you can extract a lot of info about the running kernel with mdb (or adb, if you prefer) Playing around with it today I found that is installed on all of my Solaris 10 servers, a handful of my Solaris 9, and none of my Solaris 8. Thanks to David Foster Matthew Hannigan Rob McMahon Tim Wright Gerhard Wieck Donald McLachlan Scott M, Sorrentino Francisco Roque btw, there a lot more than 'noexec_user_stack' that you can get values for from mdb... Christopher L. Barnard ------------------- comment your code as if the maintainer is a homicidal maniac who knows where you live. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Jul 14 22:04:33 2011
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:18 EST