|
|
|
|
|
by kazinator
2123 days ago
|
|
I understand how that can go "bad". For instance, I worked with a really ugly connection manager written by Qualcomm. It was C++ code (object oriented with classes deriving from abstract bases and implementing virtual functions and all that). At the bottom of the class hierarchy were methods that did their work with a hodge podge of system calls and invocations of external utilities like "ip" and "iptables" and whatever else. The thing would react to netlink events in the kernel, paste together commands and pass them to system: not even using fork and exec to do it cleanly. Just, eww. |
|