Question
Your company has been using a device on a computer to collect logs and store them in a tamper-proof fashion. Programs log to this device
Your company has been using a device on a computer to collect logs and store them in a tamper-proof fashion. Programs log to this device by writing to the device /dev/tplog. You have been asked to implement a software solution. After having all the functionality implemented, now you wonder how to make your solution work for all the existing legacy programs. Fortunately, the device file name (/dev/tplog currently) is defined by some global environment variable, and you can change it. How would you design your program to interact with the environment so that the legacy programs dont have to be modified?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started