Life is too short for a diary

Most popular




Sat 07 Sep 2013

Sleep

As I lay on my cosy bed,
a hanging moon did my curtains lit,
under my pillow sank my weary head,
and slumber weaved its sleepy knit...

Continue reading → Tags : poetry sleep






Tue 16 Apr 2013

Encrypted Files in Minix 3

Implemented a new system call in Minix 3 along with the library function that allows it to be called conveniently from a C program. The library interface extends extends file access operations to handle encrypted files.

Reading and writing to a file is done through a system call. The first is to access the “master encryption table” file (/etc/encryptTable) that stores the information about every file that is encrypted within Minix and contains three pieces of information: fs_dev, inode_nr and hashed_pw. The first two information uniquely identifies what file is encrypted and can be obtained from the vnode for the file...

Continue reading → Tags : projects minix encrypted-files






Thu 28 Mar 2013

Binary Sempahore

Implemented binary semaphore in Minix 3. Minix 3 is a micro-kernel operating system.

Most of the process pass information among themselves using application IPC. This often result in race condition. To prevent it and provide synchronization, semaphores, first proposed by Dikstras, is used...

Continue reading → Tags : projects binary semaphore