search for: wset

Displaying 20 results from an estimated 20 matches for "wset".

Did you mean: set
1999 Oct 23
0
smbfs: patch for directory listing
...similar. /Urban -------------- next part -------------- diff -ur linux-2.2.12-clean/fs/smbfs/proc.c linux/fs/smbfs/proc.c --- linux-2.2.12-clean/fs/smbfs/proc.c Sat Oct 23 17:44:54 1999 +++ linux/fs/smbfs/proc.c Sat Oct 23 22:25:49 1999 @@ -1599,8 +1599,7 @@ command = TRANSACT2_FINDFIRST; WSET(param, 0, aSYSTEM | aHIDDEN | aDIR); WSET(param, 2, max_matches); /* max count */ - WSET(param, 4, 8 + 4 + 2); /* resume required + - close on end + + WSET(param, 4, 4 + 2); /* close on end + continue */ WSET(param, 6, info_level); DSET(param, 8, 0); @@ -1615,8...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...rver->opt.protocol == SMB_PROTOCOL_NT1 && + (server->opt.max_xmit < 0x1000) && !(server->opt.capabilities & SMB_CAP_NT_SMBS)) { server->mnt->version |= SMB_FIX_WIN95; #ifdef SMBFS_DEBUG_VERBOSE @@ -706,8 +729,11 @@ WSET(buf, smb_uid, server->opt.server_uid); WSET(buf, smb_mid, 1); - *(buf+smb_flg) = 0x8; - WSET(buf, smb_flg2, 0x3); + if (server->opt.protocol > SMB_PROTOCOL_CORE) + { + *(buf+smb_flg) = 0x8; + WSET(buf, smb_flg2, 0x3); + }...
2000 Mar 20
0
smbfs patch - listing large direcories from an OS/2 server
...resp_param_len = 0; int ff_searchcount = 0; int ff_eos = 0; + int ff_lastname = 0; int ff_dir_handle = 0; int loop_count = 0; int mask_len, i, result; @@ -1597,16 +1601,11 @@ command = TRANSACT2_FINDFIRST; WSET(param, 0, aSYSTEM | aHIDDEN | aDIR); WSET(param, 2, max_matches); /* max count */ - WSET(param, 4, - SMB_CONTINUE_BIT|SMB_CLOSE_IF_END); + WSET(param, 4, SMB_CLOSE_IF_END); WSET...
2007 Oct 31
2
Shell Bash with R
...Set <- data$Steps[1] xTitle <- "Steps" ySet <- data$Time[s] yTitle <- "Time]" zSet <- data$Region zTitle <- "Region{R}" vSet <- c() vTitle <- "" wSet <- c() wTitle <- "" xAxisTicks <- getUsefulTicks(xSet) # Set to c() for automatic setting yAxisTicks <- getUsefulTicks(ySet) # Set to c() for automatic setting pdf("X.data.pdf")...
2002 Jun 25
1
RE: [PATCH] smbfs readdir fix (CFT: NetApp, OS/2)
Can someone share the smbfs-2.4.19-pre9-readdir.patch. -----Original Message----- From: David.Lee@bisus.com [mailto:David.Lee@bisus.com] Sent: Tuesday, June 25, 2002 4:21 PM To: vlads@sympatico.ca; urban@teststation.com Cc: samba@lists.samba.org; David.Lee@bisus.com Subject: [Samba] RE: [PATCH] smbfs readdir fix (CFT: NetApp, OS/2) Vlad. I still got the same problem - 'ls | wc -l'
2013 Mar 07
4
[PATCH 0/4] Small refactorings of the protocol layer.
As the start of work to add remote support, I'm taking a close look at the protocol layer in the library. These are some small cleanups. Rich.
2000 Jun 25
2
Login script
Is there a file I can place in the netlogin directory (or anywhere else for that matter) that will represnet a logon script? I want to have my workstations auto-mount particular shares on the samba server, without the user having to make the mount. This way when I add new users, the shares are automatically present. If there is a script I can place somwehre, please tell me what it's name is
1998 Sep 02
1
Win95 and Smbmount
Hi, When I "smbmount" a shareable drive on my linux box, the result of the "ls" command is often false. (Kernel is compiled with "SMB Win95 bug work around" and "SMB filesystems support", Linux 2.0.34, RedHat 5.1, Samba 1.9.18p5) What can I do to solve my problem ??? Thanks a lot for your help. Michel
2009 Apr 05
1
select() hangs in sftp_server_main()
...with openssh per se as it is also occurring with other software on my server, but I was hoping someone reading this might know more about the problem than I do. Thank you very much in advance for your help. Problem: connecting to the server via sftp results in a hang here: if (select(max+1, rset, wset, NULL, NULL) < 0) { which is line 1428 from 5.2p1's sftp-server.c (main loop of sftp_server_main()). The same hang occurs when opening a data connection over e.g. vanilla FTP. I am sometimes able to get through after a number of seconds or minutes, but sometimes the connection times out on...
2013 Mar 07
3
[PATCH 0/3] protocol: Abstract out socket operations.
I've been taking a long hard look at the protocol layer. It has evolved over a long time without any particular direction, and the result is, to say the least, not very organized. These patches take a first step at cleaning up the mess by abstracting out socket operations from the rest of the code. The purpose of this is to allow us to slot in a different connection layer under the
1998 Aug 23
4
Problems with smbmount
I have a problem. When I mount my CD (witch is on WIN97 machine) using smbmount I do not see all files in all dirs. If dir have more then, let say, 100 files (it is not the same every time), I do not see all files. This is a problem because on my Linux box I do not have CD-ROM, so if I have to install some packages I first have to copy rpm files on disk, and then install them witch is annoying.
2001 Jun 20
1
SFTP Logging Redux.
...e + log_init("sftp-server", SYSLOG_LEVEL_INFO, SYSLOG_FACILITY_AUTH, 0); #endif + /* Log session start. */ + log("(%d/%d/%s) SFTP session started.", ppid, cuid, CUNAME); + in = dup(STDIN_FILENO); out = dup(STDOUT_FILENO); @@ -1073,6 +1129,7 @@ if (select(max+1, rset, wset, NULL, NULL) < 0) { if (errno == EINTR) continue; + log("(%d/%d/%s) SFTP session closing (%s).", ppid, cuid, CUNAME, "Select Error"); exit(2); } @@ -1082,9 +1139,11 @@ len = read(in, buf, sizeof buf); if (len == 0) { debug("read eof"...
2011 Dec 20
8
ocfs2 - Kernel panic on many write/read from both
Sorry i don`t copy everything: TEST-MAIL1# echo "ls //orphan_dir:0000"|debugfs.ocfs2 /dev/dm-0|wc debugfs.ocfs2 1.6.4 5239722 26198604 246266859 TEST-MAIL1# echo "ls //orphan_dir:0001"|debugfs.ocfs2 /dev/dm-0|wc debugfs.ocfs2 1.6.4 6074335 30371669 285493670 TEST-MAIL2 ~ # echo "ls //orphan_dir:0000"|debugfs.ocfs2 /dev/dm-0|wc debugfs.ocfs2 1.6.4 5239722 26198604
1998 Sep 04
0
Linux SMB Mount utils patch
..._IOW('u', 2, struct smb_conn_opt) + +#ifdef __KERNEL__ + +#include <asm/unaligned.h> + +#define WVAL(buf,pos) \ +(le16_to_cpu(get_unaligned((__u16 *)((__u8 *)(buf) + (pos))))) +#define DVAL(buf,pos) \ +(le32_to_cpu(get_unaligned((__u32 *)((__u8 *)(buf) + (pos))))) +#define WSET(buf,pos,val) \ +put_unaligned(cpu_to_le16((__u16)(val)), (__u16 *)((__u8 *)(buf) + (pos))) +#define DSET(buf,pos,val) \ +put_unaligned(cpu_to_le32((__u32)(val)), (__u32 *)((__u8 *)(buf) + (pos))) + +/* where to find the base of the SMB packet proper */ +#define smb_base(buf) ((__u8 *)(((__u8 *)(buf...
2014 Apr 01
10
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
v7->v8: - Remove one unneeded atomic operation from the slowpath, thus improving performance. - Simplify some of the codes and add more comments. - Test for X86_FEATURE_HYPERVISOR CPU feature bit to enable/disable unfair lock. - Reduce unfair lock slowpath lock stealing frequency depending on its distance from the queue head. - Add performance data for IvyBridge-EX CPU.
2014 Apr 01
10
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
v7->v8: - Remove one unneeded atomic operation from the slowpath, thus improving performance. - Simplify some of the codes and add more comments. - Test for X86_FEATURE_HYPERVISOR CPU feature bit to enable/disable unfair lock. - Reduce unfair lock slowpath lock stealing frequency depending on its distance from the queue head. - Add performance data for IvyBridge-EX CPU.
2002 Mar 15
4
PATCH: sftp-server logging.
...n start. */ + log("(%d/%d/%s) SFTP session started.", ppid, cuid, CUNAME); + #endif + #ifdef DEBUG_SFTP_SERVER log_init("sftp-server", SYSLOG_LEVEL_DEBUG1, SYSLOG_FACILITY_AUTH, 0); #endif *************** *** 1087,1092 **** --- 1292,1300 ---- if (select(max+1, rset, wset, NULL, NULL) < 0) { if (errno == EINTR) continue; + #ifdef SFTP_LOGGING + log("(%d/%d/%s) SFTP session closing (%s).", ppid, cuid, CUNAME, "Select Error"); + #endif exit(2); } *************** *** 1096,1104 **** --- 1304,1318 ---- len = read(in,...
2011 Dec 13
12
[PATCH 0 of 4 V2] oxenstored fixes -- fixes recent pvops kernel hang
Currently PVHVM Linux guests after ddacf5ef684a "xen/pv-on-hvm kexec: add xs_reset_watches to shutdown watches from old kernel" hang when run against oxenstored because it does not handle the unknown XS_RESET_WATCHES operation and does not reply. The symptom of this issue is a hang during boot at this point: cpu 1 spinlock event irq 70 CPU 1 irqstacks, hard=dec94000
2014 Apr 02
17
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
N.B. Sorry for the duplicate. This patch series were resent as the original one was rejected by the vger.kernel.org list server due to long header. There is no change in content. v7->v8: - Remove one unneeded atomic operation from the slowpath, thus improving performance. - Simplify some of the codes and add more comments. - Test for X86_FEATURE_HYPERVISOR CPU feature bit
2014 Apr 02
17
[PATCH v8 00/10] qspinlock: a 4-byte queue spinlock with PV support
N.B. Sorry for the duplicate. This patch series were resent as the original one was rejected by the vger.kernel.org list server due to long header. There is no change in content. v7->v8: - Remove one unneeded atomic operation from the slowpath, thus improving performance. - Simplify some of the codes and add more comments. - Test for X86_FEATURE_HYPERVISOR CPU feature bit