Skip to content

Commit

Permalink
restore RO attribute for non-native processes
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Jun 15, 2016
1 parent fc129a1 commit 8d42513
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions plugins/proclist/Plist.cpp
Expand Up @@ -357,6 +357,10 @@ BOOL GetList(PluginPanelItem* &pPanelItem,size_t &ItemsNumber,PerfThread& Thread

if (pd.dwProcessId==0 && pd.dwThreads >5) //_Total
CurItem.FileAttributes |= FILE_ATTRIBUTE_HIDDEN;

if (pd.Bitness != Thread.GetDefaultBitness())
CurItem.FileAttributes |= FILE_ATTRIBUTE_READONLY;

}//for

return TRUE;
Expand Down
4 changes: 4 additions & 0 deletions plugins/proclist/changelog
@@ -1,3 +1,7 @@
drkns 15.06.2016 19:00:05 +0200 - build 184

1. ������ ��� � ����������.

drkns 15.06.2016 01:27:45 +0200 - build 183

1. ����������� ����������������� ������� XB (�������� ��������, 32/64) � ������� � �� ��������� � 1 � 3 �������.
Expand Down
2 changes: 1 addition & 1 deletion plugins/proclist/perfthread.hpp
Expand Up @@ -143,7 +143,7 @@ class PerfThread
LPCTSTR GetHostName() const { return HostName; }
bool Updated() { bool bRet=bUpdated; bUpdated=false; return bRet; }
bool IsWMIConnected() { return WMI; }
static void GetProcessOwnerInfo(DWORD dwPid, wchar_t* pUser, wchar_t* UserSid, wchar_t* pDomain, int& nSession);
int GetDefaultBitness() const { return DefaultBitness; }
wchar_t UserName[64];
wchar_t Password[64];
};
Expand Down
2 changes: 1 addition & 1 deletion plugins/proclist/version.hpp
@@ -1,6 +1,6 @@
#include "farversion.hpp"

#define PLUGIN_BUILD 183
#define PLUGIN_BUILD 184
#define PLUGIN_DESC L"Process List for FAR Manager"
#define PLUGIN_NAME L"ProcList"
#define PLUGIN_FILENAME L"ProcList.dll"
Expand Down

0 comments on commit 8d42513

Please sign in to comment.