openssl and coreutils and more

Robert Connolly robert at
Tue Dec 5 04:15:34 PST 2006

Is this correct?:

$ cat nologin.S
.section .data
   .ascii "This account is currently not available.\n\0"
.section .text
.globl _start
   movl $4, %eax
   movl $42, %edx
   movl $message, %ecx
   movl $1, %ebx
   int $0x80
   movl $1, %eax
   movl $1, %ebx
   int $0x80

$ as -o nologin.o nologin.S
$ ld -o nologin nologin.o
$ ./nologin ; echo $?
This account is currently not available.

I used a 'hello world' example :-) It's 380 bytes stripped.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the hlfs-dev mailing list