著者: Hendrik Boom 日付: To: dng 題目: Re: [DNG] Systemd Shims
On Wed, Aug 19, 2015 at 06:46:36PM +0200, Laurent Bercot wrote: > On 19/08/2015 15:29, Edward Bartolo wrote:
> >This is the completed C backend with all functions tested to work. Any
> >suggestions as to modifications are welcome.
>
> OK, someone has to be the bad guy. Let it be me.
>
> First, please note that what I'm saying is not meant to discourage you.
> I appreciate your enthusiasm and willingness to contribute open source
> software. What I'm saying is meant to make you realize that writing
> secure software is difficult, especially in C/Unix, which is full of
> pitfalls. As long as you're unfamiliar with the C/Unix API and all its
> standard traps, I would advise you to refrain from writing code that
> is going to be run as root; if you want to be operational right away
> and contribute system software right now, it's probably easier to stick
> to higher-level languages, such as Perl, Python, or whatever the FotM
> interpreted language is at this time. It won't be as satisfying, and the
> programs won't be as efficient, but it will be safer.
Or try some of the less known, but compiled, efficient, strongly and
securely type-checked languages such as Modula 3 or OCaml.