Source for winucase.c

Jeff Layton jlayton at redhat.com
Fri Oct 18 14:03:16 MDT 2013


On Sat, 19 Oct 2013 08:44:59 +1300
Andrew Bartlett <abartlet at samba.org> wrote:

> On Fri, 2013-10-18 at 06:43 -0400, Jeff Layton wrote:
> > On Fri, 18 Oct 2013 02:04:29 +0100
> > Ben Hutchings <ben at decadent.org.uk> wrote:
> > 
> > > fs/cifs/winucase.c is commented as:
> > > 
> > >  * The const tables in this file were converted from the following info
> > >  * provided by Microsoft:
> > >  *
> > >  * 3.1.5.3 Mapping UTF-16 Strings to Upper Case:
> > >  *
> > >  * http://msdn.microsoft.com/en-us/library/hh877830.aspx
> > >  * http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=10921
> > >  *
> > >  * In particular, the table in "Windows 8 Upper Case Mapping Table.txt" was
> > >  * post-processed using the winucase_convert.pl script.
> > > 
> > > Isn't "Windows 8 Upper Case Mapping Table.txt" then the preferred form
> > > for modification of the tables?  In which case, it should be included in
> > > the kernel sources.
> > > 
> > > Also, shouldn't this file acknowledge Microsoft's copyright, if it's a
> > > derivative work of their file?
> > > 
> > > Ben.
> > > 
> > 
> > (cc'ing samba-technical and Bradley Kuhn in the hopes that he can help
> > clarify)
> > 
> > Good questions. I'm not certain on either point. When I queried the MS
> > folks about the licensing on that file, they said:
> > 
> > "I discovered the content you used is in fact referenced by the
> >  MS-UCODEREF document, in section 3.1.5.2.3.1   Windows Sorting Weight
> >  Table. I discussed with the appropriate folks here, and for use in
> >  Samba it's certainly covered under Samba's existing PFIF license."
> > 
> > Bradley, any thoughts as to Ben's questions?
> 
> The worked 'referenced' is the key point, because these are the terms on
> the WSPP docs on their website:
> 
> Copyrights. This documentation is covered by Microsoft copyrights.
> Regardless of any other terms that are contained in the terms of use for
> the Microsoft website that hosts this documentation, you may make copies
> of it in order to develop implementations of the technologies described
> in the Open Specifications and may distribute portions of it in your
> implementations using these technologies or your documentation as
> necessary to properly document the implementation. You may also
> distribute in your implementation, with or without modification, any
> schema, IDL’s, or code samples that are included in the documentation.
> This permission also applies to any documents that are referenced in the
> Open Specifications. 
> 
> The last line is what they are referring to.
> 

That would seem to indicate that it's OK to include a copy of that file
in the kernel sources, but I'll wait until the conservancy folks
confirm this.

Thanks,
-- 
Jeff Layton <jlayton at redhat.com>


More information about the samba-technical mailing list