LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Keep a "secret" file open

Posted 02-05-2012 at 11:13 PM by hydraMax (Bits and Pixels)

There is an interesting thing about the way file deletion works in POSIX systems like Linux: When you call a command like "rm" on a file, ultimately you are calling the unlink() function on that file. the unlink() function does indeed remove the file name from the file system; however, the actual file itself is not removed from the file system until the last open file descriptor to that file is closed. (see UNLINK(2))

This means that, effectively, you can keep any file you...
Member
Posted in Uncategorized
Views 565 Comments 0 hydraMax is offline
Old

Late xmas

Posted 02-05-2012 at 09:46 PM by peonuser

Friend of mine she gave me an all in one printer, but it needs major repair. Found the scanner driver for it, but I did not want to install that mess. She alo gave me a fax/scanner/low duty printer. It was low on ink, but it makes a superb color scanner. Remembered that I had some scanners that at one time did not work with linux. Two were usb. Tested one and it worked fine with B/W. Could not find the power block for the other one. I will look around. parallel port scanners are going into a robot...
Member
Posted in Uncategorized
Views 281 Comments 0 peonuser is offline
Old

Fedora How to make a movie?

Posted 02-05-2012 at 09:41 PM by ssunlinux

Hello,
I have some tga image files, named: frame0551.tga frame0552.tga frame0553.tga ...
how can I make these images to a video?
LQ Newbie
Posted in Uncategorized
Views 375 Comments 0 ssunlinux is offline
Old

ASM: mixing assembler and C++

Posted 02-05-2012 at 12:05 PM by rainbowsally
Updated 08-06-2014 at 10:30 AM by rainbowsally

This is for intel 32 bit assembler. For 64-bits the calling convention is a bit different. See previous entries (specifically asm 64 bits) if you need a leg-up to break the 64 bit barrier.

Features:
  • Asm functions that can call class functions (using an object pointer) through jump vectors written in C.
  • Usage of extern "C" declarations to un-mangle names we need to keep simple for asm coding.

[If you really want to get down, you can use the mangled names as...
Member
Posted in Uncategorized
Views 969 Comments 0 rainbowsally is offline
Old

Slackware-13.37-Hacks-Hardening Tips

Posted 02-04-2012 at 09:17 PM by arniekat

These suggestions are based on advice from the SlackWiki Basic Security Fixes, The Center For Internet Security Slackware Benchmarks and on the General Hardening Tips for Red Hat Enterprise Linux. I condensed and categorized as many of the suggestions as I could glean, however, it is your choice as to how many of them apply in your case.

PHYSICAL SECURITY

Create a BIOS Password to keep others from changing your BIOS settings. After you have installed Slackware, you...
LQ Newbie
Posted in Uncategorized
Views 2329 Comments 0 arniekat is offline

  



All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration