Displaying 2 results from an estimated 2 matches for "mkshare".
Did you mean:
mktshare
2014 Jul 04
0
Shared Mailbox + LDAP Easy with this script
...t
works - and, realy, I can't believe how easy it is!
So, to help others like me and to improve the shared mailbox with Dovecot
this script does all the "hard work".
I don't know if this group permit attachments, so, let's the link:
https://sites.google.com/site/allancassaro/mkshared.tar.gz
Enjoy!
===== From README file =====
This is a simple code to help with Dovecot Public Shared Mailbox function.
Just configure a public shared mailbox with ACLs, change the configuration
file
and run this program.
How it works:
1) The program connect to the LDAP server and fetch groups f...
2001 Mar 17
1
ogg123: shared memory by mmap()
...J. Schilling
+
+dnl Checks if mmap() works to get shared memory
+dnl Defines HAVE_SMMAP on success.
+AC_DEFUN(AC_FUNC_SMMAP,
+[AC_CACHE_CHECK([if mmap works to get shared memory], ac_cv_func_smmap,
+ [AC_TRY_RUN([
+#include <sys/types.h>
+#include <sys/mman.h>
+
+char *
+mkshare()
+{
+ int size = 8192;
+ int f;
+ char *addr;
+
+ if ((f = open("/dev/zero", 2)) < 0)
+ exit(1);
+ addr = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, f, 0);
+ if (addr == (char *)-1)
+ exit(1);
+...