__generic_file_aio_write – write data to a file

1. __generic_file_aio_write – write data to a file ssize_t __generic_file_aio_write(struct kiocb * iocb, const struct iovec * iov, unsigned long nr_segs, loff_t * ppos); iocb IO state structure (file, offset, etc.) iov vector with data to write nr_segs number of segments in the vector ppos position where to write 2. Classroom Asynchronous I/O, or non-blocking …

readelf (-a option) Displays information about ELF files

UNIX Command $cat hello.c #include main() { int d; scanf(“%d”,d); printf(“%d”,d); } $gcc hello.c $ulimit -c unlimited $./a.out 3 Segmentation fault (core dumped) $readelf -s core $readelf -a core ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2’s complement, little endian …