Tag Info

Hot answers tagged

9

/bin/true and /bin/false should be the preinstalled commands with the least system calls. You could save some system calls by static linking: Save the following as e.g. minimal.c int main() { return 0; } and compile it using gcc --static -o minimal minimal.c This will get you the program minimal in your current working folder.


6

Speaking about what syscalls are actually executed in order to "run" ("run" therefore interpreted in an acceptation wider than the acceptation you're probably referring to) a program, no: for one, the execve() syscall is always executed just to run the command (in this case I think we're better off talking about executable) itself, and the exit() syscall is ...


3

Where does the problem will be reported? Launchpad in general and specifically: to the package the crash occurred on. By the way: if this specific crash is already known you will get a notice regarding that. What would happen if we cancel it? No report will be filed. What could be the possible Reasons of such occurrence? Bug in a program. ...


2

I was wondering if there was another way to remove Ubuntu from my computer You can only remove an operating system from another operating system. An active operating system can not be removed. The advice they give are the 2 easiest methods that will work for anyone regardless of how many operating systems they have. But you can also remove an operating ...


2

Try to design your program to be stateless - read from sensors, receive data from network ports, write to serial ports and/or to network connections, etc, without writing to hard disks/flash memory. You could have read-only access to a configuration file, that is fine. If this is not possible use journalling file system (i.e. ext4) and mount it with options ...


1

Yes. There are a few commands that run without making any system calls. One prerequisite of such commands is that they are built into the shell (bash, for my system). This eliminates both the setup overhead (a number of system calls performed by the linker and libc to set up the environment for the code to run) and the eventual exit() call. strace will not ...


1

System calls are the only way the program can communicate with the outside world, including announcing that it has run to completion. So a program that does not use any system calls has no observable effect, and cannot terminate or relinquish the CPU, and thus must run forever using full CPU power. Not very useful.


1

Based on: http://superuser.com/a/516847/205010 Install gnome-tweak-tool: sudo apt-get install gnome-tweak-tool Open it: gnome-tweak-tool Go to Keyboard and Mouse and change Key Theme to Emacs


1

I had the same issue after changing permission of my complete Home folder (sudo chmod -R 700 /home/user1) on Ubuntu 14.04.2. For some reason the problem only appeared for user1, but not for the second user (user2), although I changed permission for all user the same way. Besides I had a forced restart after this Permission-change, so maybe this was the ...


1

GUI-solution: Right-click anywhere in Terminator window and select Preferenes. Check Window borders option and restart Terminator.


1

No, not really: this is the best there is... (Which is worse then nothing, really) :-( Most of the things in disks are quite simple though, but if there is something specific you need help on, just ask.



Only top voted, non community-wiki answers of a minimum length are eligible