search for: security_class

Displaying 5 results from an estimated 5 matches for "security_class".

2013 Feb 13
4
[PATCH 0/3] FLASK policy build rework
These patches update the example FLASK policy shipped with Xen and enable its build if the required tools are present. The third patch requires rerunning autoconf to update tools/configure. [PATCH 1/3] flask/policy: sort dom0 accesses [PATCH 2/3] flask/policy: rework policy build system [PATCH 3/3] tools/flask: add FLASK policy to build
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...+ return sec->allow_remote; + } else if (swfdec_url_has_protocol (url, "file")) { + return sec->allow_local; + } else { + SWFDEC_ERROR ("unknown protocol %s, denying access", swfdec_url_get_protocol (url)); + return FALSE; + } +} + +static void +swfdec_flash_security_class_init (SwfdecFlashSecurityClass *klass) +{ + SwfdecSecurityClass *security_class = SWFDEC_SECURITY_CLASS (klass); + + security_class->allow = swfdec_flash_security_allow; + security_class->allow_url = swfdec_flash_security_allow_url; +} + +static void +swfdec_flash_security_init (SwfdecFlas...
2007 Dec 13
0
2 commits - libswfdec/swfdec_flash_security.c libswfdec/swfdec_flash_security.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c libswfdec/swfdec_resource_request.c libswfdec/swfdec_resource_request.h libswfdec/swfdec_security.h
...rl); sec->url = NULL; diff --git a/libswfdec/swfdec_flash_security.h b/libswfdec/swfdec_flash_security.h index 227de2b..fcb2aaf 100644 --- a/libswfdec/swfdec_flash_security.h +++ b/libswfdec/swfdec_flash_security.h @@ -63,10 +63,11 @@ struct _SwfdecFlashSecurityClass SwfdecSecurityClass security_class; }; -GType swfdec_flash_security_get_type (void); +GType swfdec_flash_security_get_type (void); -void swfdec_flash_security_set_url (SwfdecFlashSecurity * sec, - const SwfdecURL * url); +void swfdec_flash_security_set_url (SwfdecFlashSecurity * sec, + const SwfdecURL *...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...SwfdecFlashSecurity *sec = SWFDEC_FLASH_SECURITY (object); + + if (sec->url) { + swfdec_url_free (sec->url); + sec->url = NULL; + } + sec->sandbox = SWFDEC_SANDBOX_NONE; + G_OBJECT_CLASS (swfdec_flash_security_parent_class)->dispose (object); } static void swfdec_flash_security_class_init (SwfdecFlashSecurityClass *klass) { + GObjectClass *object_class = G_OBJECT_CLASS (klass); SwfdecSecurityClass *security_class = SWFDEC_SECURITY_CLASS (klass); + object_class->dispose = swfdec_flash_security_dispose; + security_class->allow = swfdec_flash_security_allow; se...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...NULL; - - for (iter = sec->crossdomain_denied; iter != NULL; iter = iter->next) { - g_free (iter->data); - } - g_slist_free (sec->crossdomain_denied); - sec->crossdomain_denied = NULL; if (sec->url) { swfdec_url_free (sec->url); @@ -287,7 +69,6 @@ swfdec_flash_security_class_init (SwfdecFlashSecurityClass *klass) object_class->dispose = swfdec_flash_security_dispose; security_class->allow = swfdec_flash_security_allow; - security_class->allow_url = swfdec_flash_security_allow_url; } static void diff --git a/libswfdec/swfdec_flash_security.h b/libs...