Print this page
NEX-19025 CIFS gets confused with filenames containing enhanced Unicode
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
and: (fix build, check-rtime)
NEX-4458 Incorrect directory listing response for non-UNICODE clients
Reviewed by: Matt Barden <Matt.Barden@nexenta.com>
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
NEX-2460 libfksmbd should not link with libsmb
SMB-65 SMB server in non-global zones (data structure changes)
Many things move to the smb_server_t object, and
many functions gain an sv arg (which server).

Split Close
Expand all
Collapse all
          --- old/usr/src/common/smbsrv/smb_oem.c
          +++ new/usr/src/common/smbsrv/smb_oem.c
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   *
  25      - * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       25 + * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26   26   */
  27   27  
  28   28  /*
  29   29   * Support for oem <-> unicode translations.
  30   30   */
  31   31  
  32   32  #if !defined(_KERNEL) && !defined(_FAKE_KERNEL)
  33   33  #include <stdlib.h>
  34   34  #include <thread.h>
  35   35  #include <synch.h>
  36   36  #include <string.h>
  37   37  #else
       38 +#include <sys/types.h>
  38   39  #include <sys/ksynch.h>
       40 +#include <sys/sunddi.h>
  39   41  #endif /* _KERNEL */
  40   42  
  41   43  #include <sys/byteorder.h>
  42   44  #include <smbsrv/alloc.h>
  43   45  #include <smbsrv/string.h>
  44   46  
  45   47  /*
  46   48   * cpid         The oemcpg_table index for this oempage.
  47   49   * value        The conversion values.
  48   50   */
↓ open down ↓ 327 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX