This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: proposal: ioperm support for Cygwin


Napísané dňa 2003.01.24 14:54, (autor: Nicholas Wourms):

I don't think this has come up before, but is there any reason why this couldn't be added to the Cygwin dll [either now or at some later
It depends on cygwin1.dll maintainer. :-)

date]? The framework appears to be somewhat similar to how we are going about implimenting SysV IPC's. The only issue might be how to deal with the driver [arguably a very touchy subject]. I would argue that our touching the registry alone is much worse then installing a system driver. As long as it is not orphaned, it shouldn't be a big deal. In any event, the interface could be purely optional in the same way that cygserver will be. One could possibly even break the driver and binary out into a seperate package. Any thoughts? The only reason I bring this up is the fact that ioperm() is a part of linux's glibc, so most applications which would use it expect it to
This is a solution (it's not ideal, but works :-):

AC_SEARCH_LIBS([ioperm], [ioperm])

be available via the system's libc. In any event, it just seems it might be easier to do it this way. However, this, of course, depends on the wishes of the author concerning licensing agreements. Just a thought, though...
Only library/ioperm.c file is one which should be included in main cygwin1.dll. If there is a problem with license I could change the license of this file to BSD-like (if this helps). Other two files (include/sys/io.h and include/sys/perm.h) in ioperm package required to include in cygwin dll distribution are copied from glibc sources...


Regards.

--
+-------------------------------------------+
| Marcel Telka e-mail: marcel@telka.sk |
| homepage: http://telka.sk/ |
| jabber: marcel@jabber.sk |
+-------------------------------------------+


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]