aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/scm.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/scm.c')
-rw-r--r--net/core/scm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/core/scm.c b/net/core/scm.c
index 681c976307b5..413cab89017d 100644
--- a/net/core/scm.c
+++ b/net/core/scm.c
@@ -130,6 +130,7 @@ void __scm_destroy(struct scm_cookie *scm)
130 } 130 }
131 } 131 }
132} 132}
133EXPORT_SYMBOL(__scm_destroy);
133 134
134int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) 135int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p)
135{ 136{
@@ -211,6 +212,7 @@ error:
211 scm_destroy(p); 212 scm_destroy(p);
212 return err; 213 return err;
213} 214}
215EXPORT_SYMBOL(__scm_send);
214 216
215int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) 217int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data)
216{ 218{
@@ -249,6 +251,7 @@ int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data)
249out: 251out:
250 return err; 252 return err;
251} 253}
254EXPORT_SYMBOL(put_cmsg);
252 255
253void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) 256void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm)
254{ 257{
@@ -318,6 +321,7 @@ void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm)
318 */ 321 */
319 __scm_destroy(scm); 322 __scm_destroy(scm);
320} 323}
324EXPORT_SYMBOL(scm_detach_fds);
321 325
322struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl) 326struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl)
323{ 327{
@@ -335,9 +339,4 @@ struct scm_fp_list *scm_fp_dup(struct scm_fp_list *fpl)
335 } 339 }
336 return new_fpl; 340 return new_fpl;
337} 341}
338
339EXPORT_SYMBOL(__scm_destroy);
340EXPORT_SYMBOL(__scm_send);
341EXPORT_SYMBOL(put_cmsg);
342EXPORT_SYMBOL(scm_detach_fds);
343EXPORT_SYMBOL(scm_fp_dup); 342EXPORT_SYMBOL(scm_fp_dup);