bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] patch circular log feature for syslogd


From: Daniel Lehne
Subject: Re: [bug-inetutils] patch circular log feature for syslogd
Date: Fri, 23 Nov 2012 10:35:10 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

Hello,

On 22.11.2012 г. 21:23, Alfred M. Szmidt wrote:
    +  err = pwritev(f->f_file,&iov[IOV_OFFSET],iovcnt - 
IOV_OFFSET,f->f_un.f_clog.cf_next);

What does the function pwritev do?  It is not available on GNU
systems from what I see.
Yes this an extension by Linux OS and not IEEE Std 1003.1, 2004 Edition conform. This function tells the OS to make a fseek and a writev on the file without interruption. This could be replaced by seek() and writev() but is not task safe, so task2(read) could seek the file before task1(write) start with writing(but finished seeking). Do you know an other solution?

      >Since I suspect that this is a non-trivial change, we would need
      >an copyright assignment from you (and employeer?).  Would you
      >like to sign such an agreement?

    The copyright is GPL according the head of the file syslogd.c and no
    additional rights are claimed on my (our) side. In detail:

Alas, that is not how copyright works.  Since you wrote (I assume) the
code, you are the copyright holder under the Berne convention of that
piece since it is a creative form of work.  For us to be able to
incoperate it into the GNU networking utilities we will need to an
copyright assignment so that the FSF can have the legal power to
enforce any possibl GPL violations.  I've attached a file on what it
means to assign copyright to the FSF, and what kind of asisgnments we
have.
Thanks for the information. A colleague has already published source to the FSF for the barebox project, but the file was completely by us. My extension is only in an GPL file, so how described you in the attached file, we will use the variant of copyleft as GNU GPL version. I will see what can i do for a signed paper, so that the FSF has the right to enforce GPL violations. Yes i am only an employe and the firm will own the copyright.
    I want to mention, that the base idea was by Jeff Weelhouse with
    his clog program for BSD syslog
    [http://software.wwwi.com/syslogd/].  I've hardly changed the
    concept and implementation, mainly the defines could be the same.
    You could check it, if this should be a problem for you.

Did you base your solution on his code? In that case we will need an
copyright assignment for him as well.
I want to honor his work, that's why i remind this. He shows me with his base implementation how it works. In first point i ported only his code to inetutils, but i didn't like the working stile (2 programs, additional program to read out, header in log file). So i write the functionality again, but without additional program, without header in log file, with a parser for syslog.conf and rewrite the write function for the log file. So i base on his idea but not on his code.

Best regards!

--
Daniel Lehne,
Dep. Development

AMK Drives and Controls Ltd.
Bulgaria / Gabrovo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]