Tuesday, September 27, 2011
Monday, August 22, 2011
Monday, April 11, 2011
And A Link from LifeHacker .. Installing a Hackintosh
http://lifehacker.com/#!5672051/how-to-build-a-hackintosh-mac-and-install-os-x-in-eight-easy-steps
http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html
Hope to come back one day to try this out..
---------
http://tonymacx86.blogspot.com/2010/04/iboot-multibeast-install-mac-os-x-on.html
Hope to come back one day to try this out..
---------
Friday, April 8, 2011
a bit on thread id
how to get a thread's ID in c/c++ gnu, gettid() is not implemented
pid_t gettid(void);
can be replaced by the following system call :
#include < syscall.h >
pid_t tid = (pid_t) syscall (SYS_gettid);
can be replaced by the following system call :
#include < syscall.h >
pid_t tid = (pid_t) syscall (SYS_gettid);
Thread ids obtained from pthread_self() are in a different format..
...
Thursday, April 7, 2011
Monday, February 7, 2011
Tuesday, September 7, 2010
On SELinux :A good introduction from linuxsecurity.com
SELinux or Security Enabled Linux.
Just did attr -l
to find an attribute selinux.
Went on to find about SELinux to get "Hacks from Pax"
Article 1: http://www.linuxsecurity.com/content/view/120567/49/
Article 2: http://www.linuxsecurity.com/content/view/120622/49/
Article 3: http://www.linuxsecurity.com/content/view/120700
Article 4: http://www.linuxsecurity.com/content/view/120837/169/
=============================================
Tip:
To list inode of a file: ls -i OR stat |grep inode
To find file from an inode: find -inum
Just did attr -l
to find an attribute selinux.
Went on to find about SELinux to get "Hacks from Pax"
Article 1: http://www.linuxsecurity.com/content/view/120567/49/
Article 2: http://www.linuxsecurity.com/content/view/120622/49/
Article 3: http://www.linuxsecurity.com/content/view/120700
Article 4: http://www.linuxsecurity.com/content/view/120837/169/
=============================================
Tip:
To list inode of a file: ls -i
To find file from an inode: find -inum
Subscribe to:
Posts (Atom)