This is the mail archive of the cygwin-patches@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]

cygwin_internal(CW_CHECK_NTSEC, filename) patch


The attached patch adds Corinna's OpenSSH check_ntsec() functionality to
Cygwin as cygwin_internal(CW_CHECK_NTSEC, filename).  The third
attachment, check_ntsec.cc, can be used to test this functionality:

    $ cygcheck -s | egrep 'FAT|NTFS'
    a:  fd  FAT        1Mb  62% CP    UN           
    c:  hd  NTFS   38146Mb  35% CP CS UN PA FC
    ...

    $ check_ntsec a:/readdir.exe 
    0 = check_ntsec(a:/readdir.exe)

    $ check_ntsec c:/boot.ini 
    1 = check_ntsec(c:/boot.ini)

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

Attachment: check_ntsec.patch
Description: Text document

Attachment: check_ntsec.ChangeLog
Description: Text document

Attachment: check_ntsec.cc
Description: Text document


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