Reputation
25,940
Next tag badge:
96/100 score
19/20 answers
Badges
3 39 88
Impact
~2.8m people reached

Mar
17
answered How is the su command masking/protecting my password from being displayed on screen?
Mar
15
comment How can I detach a process from a bash script?
nohup isn't quite the right answer. You should add some pseudocode or example code to show more precisely what you want.
Mar
14
comment Is it possible to allocate RAM for all the code and data in an ELF file during loading?
The "loading" part is all kernel operations, which are the inner workings of the execve() system call. I don't think there's any way to do what you're asking for. It's almost possible to do an execve() from user land (stratigery.com/userlandexec.html) but that also is not what you're asking for.
Mar
12
comment Apache shows Blank page for PHP
Do you have the file /etc/httpd/conf.d/php.conf, and can the apache user ID read it?
Mar
12
comment non-reentrant libraries in shared memory?
@RuiFRibeiro - It is said that one of the advantages of dynamic libraries is code sharing. The way ELF shared objects work, the kernel can do that. The "RE" LOAD header parts can be shared all over. It should also be possible to map the global variables (the "R W" LOAD header) as copy-on-write, so that as long as some process has it mapped, the kernel can just set up a mapping, vs reading it in from disk. So even the globals can be shared in a way.
Mar
11
answered Programatically determine “uniformity” of image
Mar
11
answered non-reentrant libraries in shared memory?
Mar
10
comment How does FING (or any of the IP/MAC Address Mappers) work?
@bonsaiviking - you are correct, in that if you run nmap as root, it does do the raw socket things. After looking over the source code in nmap..c, there's a value o.isr00t that when set to false, causes nmap to create regular TCP sockets, and call connect() on each IP address. When true, it does the raw socket thing.
Mar
10
comment How does FING (or any of the IP/MAC Address Mappers) work?
@bonsaiviking - connect() system calls show up for consecutive IP addresses in the strace output. I was looking for some weird raw socket thing, and I was surprised to see the connect() calls show up. I did not look through nmap source code, however, and I also just ran "nmap -sn 172.31.0.0/24", so it's possible that I missed something important.
Mar
10
revised How does FING (or any of the IP/MAC Address Mappers) work?
change "packet" to "socket" in one place. Clarify connect() timeout meaning.
Mar
10
answered How does FING (or any of the IP/MAC Address Mappers) work?
Mar
7
answered Linux or Unix for old Notebook (Benq 7000) with Pentium 4 m
Mar
3
answered Relations between control characters, signals and terminal
Mar
3
comment Slow SSH connection on embedded platform
I've noticed this with an Arch Linux Raspberry Pi. My current guess is that not enough entropy exists on the Raspberry Pi to do something - generate cryptographically secure random numbers, maybe? Didn't early Android phones have a pausing problem because of lack of entropy?
Mar
3
answered “attempt to invoke directory '/srv/http' as script” error with “SetHandler application/x-httpd-php” enabled in apache config on archlinux
Mar
1
answered How to get the psql table records in shell script?
Feb
24
comment how to create table with fields in command line Centos
@cea - MariaDB data types: mariadb.com/kb/en/mariadb/data-types varchar(80) is a character string, of maximum length 80 characters. 80 characters can mean a lot more than 80 bytes if you use UTF-8 character set, and non-Latin (Cyrillic, Mandarin, etc) characters.
Feb
24
answered Routing all traffic from eth0 to wlan0
Feb
24
comment how to create table with fields in command line Centos
@cea - see edited answer.
Feb
24
revised how to create table with fields in command line Centos
Add explanation of how to create table interactively.